Questions tagged [borgbackup]
The borgbackup tag has no usage guidance.
27
questions
0
votes
0
answers
63
views
How to restore multiple versions of the same file of several/all borg archives
Using borg backup, it is quite easy to restore (extract) a specific file X from an archive to the current location . using
$ borg extract /path/to/repo::my-files home/USERNAME/X
I like to extract ...
0
votes
0
answers
34
views
Systemd service process sleeps indefinitely
I have a systemd service that's intended to backup a BTRFS snapshot of my home directory to remote storage (borgbase). The script works exactly as expected when run manually from a shell, but sleeps ...
2
votes
0
answers
85
views
how to backup remote location containing hard links, without rsync
I want to backup backintime-data from an internet-facing, remote machine running debian 11 (src). That is the hardlinks-part from the title.
I want to back it up to a (very dumb) NAS (dest) in the ...
1
vote
2
answers
343
views
"Is borg working on the server?"
I'm trying to setup an automated backup system to backup my Raspberry Pi's data to my Mac Mini. However, calling neither borg init nor borg create from the RPi to the remote Mac Mini repo host seems ...
2
votes
1
answer
189
views
Are CACHEDIR.TAG and .nobackup evaluated differently?
What should we keep in mind when using CACHEDIR.TAG and .nobackup?
Are these synonyms, or should we expect that programs handle these differently?
0
votes
1
answer
315
views
borg backup hangs on most commands after verified integrity
I have a borg backup system for some time now. The target is cloud storage, accessed by ssh.
This is SSH command line from debug:
SSH command line: ['ssh', '-i', '/root/.ssh/id_rsa', '-p', '23', '<...
0
votes
1
answer
328
views
Cannot use borgbackup script with sudo as requires ssh password
I am trying to use borg backup and am running into an issue with SSH. I am backing up some root files such as /var/www/html, therefore I require root permissions, so I need to run the backup script as ...
1
vote
1
answer
5k
views
BorgBackup: fuse: failed to exec fusermount3: No such file or directory
I'm trying to run the borg mount in Borg Backup, but it's saying that fusermount3 is not installed.
fuse: failed to exec fusermount3: No such file or directory
Googling this problem isn't helping. I ...
1
vote
2
answers
463
views
Borg: Create backup archive only if (recursive) directory has changed
Currently I have Borg archives being creative hourly, via a cron script, for directories I'd like to be backed up. However, this is not exactly ideal. Ideally, I'd like backups to be created more than ...
1
vote
0
answers
2k
views
borg - Exclude a Folder with some Exceptions
Using borg create, I want to exclude a folder, but with some exceptions. Specifically, I want to exclude all paths subordinate to the AppData folder, except for the ones that are bookmark related, ...
5
votes
3
answers
3k
views
Finding an appropriate backup strategy (borgbackup, restic etc)
I am fully aware that questions like this one have been asked multiple times. However, since reading lots of documentation of various backup tools didn't answer all my questions, I think its fine to ...
1
vote
1
answer
149
views
Meaning of Deduplicated during Borg Create's Realtime Output
When the borg create command is used with the --progress argument, it output like this:
5.50 GB O 5.10 GB C 23.95 kB D 15600 N /path/to/current/file/being/processed
I was able to locate what the ...
0
votes
0
answers
84
views
Duplicated saves with borgbackup
I need to backup data using Borg Backup from a remote server to a local server (raspberry-pi like - it is actually Yunohost) equipped with a 2 slots storage bay. I would like to have identical copies ...
1
vote
1
answer
134
views
Can't export variables within script
I've been trying to setup a borg automated backup script following the documentation. For some reason my script fails to see its variables while I'm trying to write to a sudo protected encrypted drive....
0
votes
1
answer
377
views
Restore ENTIRE system ROOT / (CLARIFICATION)
I recently had to restore the disk with borg. So via live linux, I entered my disk file system, deleted everything (root /), and restored a backup of a specific date. Now I ask myself: do you need to ...
2
votes
1
answer
2k
views
How to use a remote borg backup as root?
I want to backup some files that can only be read as root to a remote repository that only my user has access to. If I run borg as myself using /etc as my source I'll get permission-denied errors ...
0
votes
1
answer
515
views
How to find all files that were modified since last backup with borgbackup?
I backup all my files (with borgbackup) every 2-3 months to an external harddisk I store off-site. The problem I want to solve is how to protect the files that changed since the last backup. These are ...
-1
votes
1
answer
395
views
How to avoid borg to cross filesystem boundaries
I am looking for a way to backup one filesystem by borg and I do
not want it to following mount points to another partitions.
A mechanism like the flag -x in rsync.
I feel that I missed something ...
1
vote
1
answer
302
views
Borg Backup stuck at "Remote: Replaying segments 0%"
I’m running a offsite backup with borg backup (client & server version: 1.1.10). My biggest repository gets stuck on the status "Remote: Replaying segments 0%". I had the same status for my ...
2
votes
2
answers
2k
views
Running a borg extract remotely
Consider that backups have been made to a remote repository, located on /mnt/backup on server.
For non-Borg users, a repository consists of multiple archives. A single archive is created every time a ...
4
votes
1
answer
1k
views
Read from borg backup repository without authentication passphrase
Borg Backup always asks for the key passphrase when accessing a repository which was initialized in authenticated or authenticated-blake2 mode (see borg manual).
However, it should in principle be ...
1
vote
0
answers
209
views
How to stop python-based borg backup from logging with ^M
I'm trying to make a log file for monitoring backup progress using borg deduplicating archiver. While I am logging, the file contains ^M control characters for each line despite running the script on ...
2
votes
0
answers
940
views
Can I change ownership of the data directory content in a borg backup repo?
I've been using borg-backup for the past few weeks (on Ubuntu 16.04).
Every time I need to mount a backup I've used sudo (sudo borg mount ...); if I don't, I end up with a permission error and the ...
3
votes
1
answer
598
views
How to stop a unit while another unit runs
I am currently trying to set up automated backups using borg. For that, I have written a oneshot systemd user service (called borgbackup.service) that I am planning to start via a timer.
Borg can ...
1
vote
1
answer
854
views
Backup to Amazon Cloud drive
Amazon Cloud Drive (acd) offers "unlimited" storage for a very affordable price.
I wonder, if there are any backup solutions under linux that are usable with it.
I am aware of acd_cli. With this it ...
1
vote
2
answers
2k
views
Shell script exits early for unclear reasons
I'm using the following script to backup, using Borg Backup. But I'm running into an odd problem
Part of the script below does not execute. The script follows, then the output
SCRIPT:
#!/bin/bash ...
0
votes
1
answer
249
views
Filtering standard error output from remote BorgBackup repository
I want to filter standard error for a command that prints status information to standard error. In this case, Borg Backup. Specifically, the default output of borg check includes lines like:
Checking ...