baodrate / snap-sync

Use snapper snapshots to backup to external drive

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

issue when saving to backup root /

NicoHood opened this issue · comments

[alarm@alarmpi snap-sync]$ sudo snap-sync -n
Select a mounted BTRFS device to backup to.
1) 16bfd981-0f5e-4094-b1fb-da0579b560fa (/)
2) 16bfd981-0f5e-4094-b1fb-da0579b560fa (/var/tmp)
3) 16bfd981-0f5e-4094-b1fb-da0579b560fa (/var/log)
4) 16bfd981-0f5e-4094-b1fb-da0579b560fa (/var/abs)
5) 16bfd981-0f5e-4094-b1fb-da0579b560fa (/.snapshots)
6) 16bfd981-0f5e-4094-b1fb-da0579b560fa (/home)
7) 16bfd981-0f5e-4094-b1fb-da0579b560fa (/data)
8) 16bfd981-0f5e-4094-b1fb-da0579b560fa (/srv)
9) 16bfd981-0f5e-4094-b1fb-da0579b560fa (/var/cache/pacman/pkg)
10) 1e44de19-7755-4219-9884-bc932958ac9e (/mnt)
0) Exit
Enter a number: 10

You selected the disk with UUID 1e44de19-7755-4219-9884-bc932958ac9e.
The disk is mounted at /mnt.

No backups have been performed for 'root' on this disk.
Enter name of directory to store backups, relative to /mnt (to be created if not existing):       
This will be the initial backup for snapper configuration 'root' to this disk. This could take awhile.
Will backup //.snapshots/12/snapshot to /mnt//root/12//snapshot
At subvol //.snapshots/12/snapshot

No backups have been performed for 'home' on this disk.
Enter name of directory to store backups, relative to /mnt (to be created if not existing): 
This will be the initial backup for snapper configuration 'home' to this disk. This could take awhile.
Will backup /home/.snapshots/9/snapshot to /mnt//home/9//snapshot
At subvol /home/.snapshots/9/snapshot

Done!
[alarm@alarmpi snap-sync]$ sudo snap-sync -n
[sudo] password for alarm: 
Select a mounted BTRFS device to backup to.
1) 16bfd981-0f5e-4094-b1fb-da0579b560fa (/)
2) 16bfd981-0f5e-4094-b1fb-da0579b560fa (/var/tmp)
3) 16bfd981-0f5e-4094-b1fb-da0579b560fa (/var/log)
4) 16bfd981-0f5e-4094-b1fb-da0579b560fa (/var/abs)
5) 16bfd981-0f5e-4094-b1fb-da0579b560fa (/.snapshots)
6) 16bfd981-0f5e-4094-b1fb-da0579b560fa (/home)
7) 16bfd981-0f5e-4094-b1fb-da0579b560fa (/data)
8) 16bfd981-0f5e-4094-b1fb-da0579b560fa (/srv)
9) 16bfd981-0f5e-4094-b1fb-da0579b560fa (/var/cache/pacman/pkg)
10) 1e44de19-7755-4219-9884-bc932958ac9e (/mnt)
0) Exit
Enter a number: 10

You selected the disk with UUID 1e44de19-7755-4219-9884-bc932958ac9e.
The disk is mounted at /mnt.

ERROR: /mnt/1e44de19-7755-4219-9884-bc932958ac9e                       is not a directory on 1e44de19-7755-4219-9884-bc932958ac9e.

Definitely a bug. This will take a little bit.