borgbackup / borg-import

importer for rsync+hardlink based backups / rsnapshot
https://borg-import.readthedocs.io/
Other
42 stars 25 forks source link

rsync+hardlinks custom backup script importer #7

Open ThomasWaldmann opened 7 years ago

ThomasWaldmann commented 7 years ago

This is somehow similar to rsnapshot, just the directory layout is different:

<backup_set>/<snapshot_id>/...
e.g.:
server1/0/...
server1/1/...
server1/2/...
server1/3/...
server2/0/...
server2/1/...
...

In the directories 0..N, there is a file BACKUP_TIMESTAMP that contains date tool output.

ThomasWaldmann commented 6 years ago

https://github.com/borgbackup/borg-import/pull/26 related changes (not exactly this style though).

mdhoney commented 2 years ago

So in your example, which would be RSYNC_ROOT - is it server1/ or server1/0/? I think it should be the latter, right?

ThomasWaldmann commented 2 years ago

the root is the directory where the discovery starts (by recursing into it), so (IIRC), RSYNC_ROOT = server1 here.