Rsnapshot dir changed on update from OMV3 to 4

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Rsnapshot dir changed on update from OMV3 to 4

      Hi everybody,

      two weeks ago I updated from OMV 3 to 4 without any problems. Since then, rsnapshot uses a different directory in my backup share and thus builds up new snapshots from scratch. I now have one folder with the old snapshots:

      Source Code

      1. root@NAS:/sharedfolders# ls BackupSnapshots-Share/HT750/Backup-Share/
      2. daily.0 daily.11 daily.2 daily.5 daily.8 monthly.1 monthly.4 weekly.1 weekly.2 weekly.5 weekly.8
      3. daily.1 daily.12 daily.3 daily.6 daily.9 monthly.2 monthly.5 weekly.10 weekly.3 weekly.6 weekly.9
      4. daily.10 daily.13 daily.4 daily.7 monthly.0 monthly.3 weekly.0 weekly.11 weekly.4 weekly.7

      And a new one where the snapshots now get created:

      Source Code

      1. root@NAS:/sharedfolders# ls BackupSnapshots-Share/media/c486d52a-****-****-****-***********/Backup-Share/
      2. daily.0 daily.1 daily.10 daily.11 daily.2 daily.3 daily.4 daily.5 daily.6 daily.7 daily.8 daily.9

      Since I know that rsanpshot uses hardlinks in order to create incremental snapshots, I am afraid to break something if I just copy the folders from the old location to the new one. What is the recommended way to proceed in this case? Or is it even possible to have rsnapshot use the old directory again?

      Best,
      Aiakos
    • Because the new directory has been used for quite a while, I don't have a good suggestion for how to merge them. The path changed due to changes in OMV.
      omv 4.1.8.2 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.8
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • Aiakos wrote:

      Could I just rm the contents of the new directory and cp or mv the contents of the old directory to the new one?
      Because they are hardlinks, you should be able to. I would start by copying it (if you can) or moving it (if you have a backup).
      omv 4.1.8.2 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.8
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • Users Online 1

      1 Guest