Restoring stuff from the server vault
-
-
Log in to the server as "arabel".
-
Create a temporary directory:
mkdir /tmp/restore
(Directory already exists errors are OK.) -
Mount the backup on the newly-created directory.
borg mount $BORG_REPO /tmp/restore
cd /tmp/restore
At this point, that directory contains a bunch of folders that look like:
... drwxr-xr-x 1 arabel arabel 0 Feb 27 20:00 arabel-2022-02-27T20:00:02 drwxr-xr-x 1 arabel arabel 0 Feb 28 00:00 arabel-2022-02-28T00:00:02 drwxr-xr-x 1 arabel arabel 0 Feb 28 04:00 arabel-2022-02-28T04:00:02 drwxr-xr-x 1 arabel arabel 0 Feb 28 08:00 arabel-2022-02-28T08:00:01 drwxr-xr-x 1 arabel arabel 0 Feb 28 12:00 arabel-2022-02-28T12:00:01 drwxr-xr-x 1 arabel arabel 0 Feb 28 16:00 arabel-2022-02-28T16:00:02 drwxr-xr-x 1 arabel arabel 0 Feb 28 20:00 arabel-2022-02-28T20:00:01 drwxr-xr-x 1 arabel arabel 0 Mar 1 00:00 arabel-2022-03-01T00:00:02 ...
Pick a timestamp that looks good to you and
cd
into that directory. From there, it looks like the servervault tree. Find your file, copy it out to where it needs to go.Important!!
Unmount the restore directory when you are done or backups will fail in the future until you do:
borg umount /tmp/restore
Enjoy!
-
-
@doctordeth said in Restoring stuff from the server vault:
From there, it looks like the servervault tree. Find your file, copy it out to where it needs to go.
Could you do this part via filezilla?
-
@zool Yep, you could
-
@zool Yes, you can do the restore part from FileZilla, but the initial "mount" and "unmount" commands must be done at the command line.
-
F folklore moved this topic from DM Instructions & Requests on