rsnapshot backup migration and copy on a different filesystem

  • Hi everyone, I have a little doubt about migrating rsnapshot backups from one hard disk to another and even through different filesystems.

    I have a rsync snapshot working since years, but now I have to migrate everything into a bigger hard disk since the space is ending in the old one.
    Looking through various forums and wiki I ended up that doing:

    rsync -azhvHAE /oldbackup /newbackup should do the trick and respect the hard links created

    And the I can restart the rsnapshot plugin of OMV to keep backing up from where it left on the new bigger hard drive.


    My doubt is what about when you do a migration to a different filesystem?


    Let's say the main hard disk where the original data was formatted in ext4 and I need to migrate all the nas original files to a zfs filesystem, would then the reactivation of the rsnapshot backup still working if I manually change name to the "root folder" of the rsnapshot backup with the proper pool name?

    Or it doesn't make any sense and rsnapshot will not recognize those are basically the same files just root directory is changed?
    So basically is there a way to migrate a rsnapshot backup in this situation or is it just better forget about the old backup and start a new one from scratch on the new filesystem?

    • Official Post

    I've never tried moving a backup. I guess try it and if it doesn't work, then you know you need to start a new one.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • ryecoaaron yep already doing it :) actually while I was writing the post, I just ate the bullet and tried to report back if anyone will find in the same situation.

    So I launched it, everything seems to be going on without an issue at least from the plugin point of view, but then I have another question a more important one at this point.

    How can I check the integrity of the backup? what I mean is is there something from rsnapshot plugin I can do to be sure that the files are correct and the base is solid? i.e. no hard links destroyed or backup files missing etc.etc.

    I'm checking some files manually but there is 3 tera worth of data would be insane to do it hand by hand, is there a simpler way?

    • Official Post

    There is nothing in the plugin (it would have to be in rsnapshot) to verify backups. Running an rsnapshot run should do that. if something was wrong, it would likely run a full backup creating new hardlinks even if files hadn't changed.

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Wek

    Added the Label resolved

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!