Migration Toolkit Won't migrate backups (Ubuntu 22.04) (Not a Bug)

Discussion in 'Plugins/Modules/Addons' started by curiousadmin, Feb 23, 2023.

  1. curiousadmin

    curiousadmin Member HowtoForge Supporter

    Hello Team,
    I just wanted to report a bug:
    When you do the migration using the "Migration Toolkit" then the backups in /var/www/clients/client1/web1/backup are not copied over via rsync (not just web1 but all the webs).
    I consider this a bug as some people might need or rely on these backups and they are not migrated over during the migration process.
    I suppose this is not Ubuntu 22.04 LTS specific.
    Kindly make it default to copy the backups over or at least allow for the parameter so the backups are copied over too.

    Thank you.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The folder /var/www/clients/client1/web1/backup is a temporary folder to make backups available for download. Website backups are not stored there, they are just copied there for a short time during download when a user requests. Backups are stored in a different folder, which is configured under system > server config and not in the website. Storing them in the website makes no sense for various reasons incl. security, as any hacker that successfully hacks a site would be able to remove all backups then. Website backups are migrated by the tool. You just looked at the wrong folder, which is just a temp download folder and not the place where backups are stored. Check the backup folder (which is /var/backup/ or whatever path if you manually changed it).
     
    ahrasis likes this.
  3. curiousadmin

    curiousadmin Member HowtoForge Supporter

    yes you are right my bad - the actual path is: /var/backup (that's the default and I didn't change it)

    Regardless the backups did not seem to be copied there from the older server and the folder is not even created on the new installation - I just followed the two howtos to the point:
    https://www.howtoforge.com/ispconfig-autoinstall-debian-ubuntu/
    With parameters:
    Code:
    wget -O - https://get.ispconfig.org | sh -s -- --use-ftp-ports=40110-40210 --unattended-upgrades --no-dns --no-mailman
    and then:
    https://howtoforge.com/tutorial/how...-confixx-plesk-to-ispconfig-31-single-server/
    No special parameters - just ./migrate and I used pretty much the defaults.
    Is it good idea to create the /var/backup folder manually or shall I just wait for the ISPConfig to re-create it?
    If it shall be created manually who should be the owner?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Do not manually create the backup folder, ISPConfig takes care of that.
     
    ahrasis and curiousadmin like this.

Share This Page