Questions tagged [rdiff-backup]

19 questions
21
votes
2 answers

What happens if rsnapshot / rdiff-backup gets interrupted in the middle of a transfer?

Question says it all: What happens if rsnapshot or rdiff-backup gets interrupted in the middle of a transfer? I know that rsnapshot tries to make a complete snapshot of your system in rotating fashion, and rdiff-backup makes a differential backup,…
emf
  • 1,682
  • 4
  • 16
  • 23
7
votes
2 answers

Switch to using rdiff-backup for backups of / instead of rsync?

I usually use rsync to do backups, with a command like this: rsync -avxz -e "ssh" --exclude ".gvfs" --numeric-ids / /media/Backup/slash/ How can I convert the arguments I use with rysnc to rdiff-backup? Update: OK, I made myself a "shopping list".…
Azendale
  • 11,811
  • 9
  • 47
  • 70
5
votes
3 answers

rdiff-backup and running out of disk space. Something weird's going on

I've got an rdiff-backup setup that backs up a largeish sql dump (1.6GB) over a network. The server it's backing up to (Ubuntu 10.10 server) has a small local disk (4GB, 1GB free) but has a cifs mount to a large nas (plenty of free space). I've a…
growse
  • 121
  • 2
  • 9
4
votes
1 answer

How to rdiff-backup / rsnapshot / backupninja from LOCAL to REMOTE machine?

I'm a bit confused about doing backups with rsync/rdiff-backup / rsnapshot via SSH. I've been looking at utilities such as backupninja and rsnapshot. These are rsync / rdiff based backup systems, capable of being scheduled to do backups over SSH. …
emf
  • 1,682
  • 4
  • 16
  • 23
3
votes
1 answer

OSError: [Errno 36] File name too long

I'm using rdiff-backup since a long time to pull backups over SSH to the backup-server. Recently rdiff-backup crashed with Errno 36. So I deleted the file which had the long name in the source. However, I can't get rdiff-backup to work again. I keep…
Andre
  • 2,031
  • 6
  • 20
  • 31
3
votes
1 answer

What are the advantages and disadventages of git or bzr + rsync vs rdiff-backup?

I used to use rsync to do backups, but then I switched to rdiff-backup to incremental backups. Recently, I discovered git and bzr while working on a coding project. So, I was thinking, I could have my backup disk be a repository in either git or…
Azendale
  • 11,811
  • 9
  • 47
  • 70
3
votes
1 answer

Need to try to install a specific package version -- however apt-cache madison, apt-cache policy only seem to list the latest version

Other SE posts, for example this, show how you can install a specific package version. However, I'm unsure what exactly the naming convention / syntax used for the version I want is. I need to install rdiff-backup version 1.2.8, but I'm unclear from…
Spooky
  • 51
  • 1
  • 6
2
votes
2 answers

Commands not executing in shell script run by udev

I'm having trouble using udev to run a shell script that backs up my hard drives to an external drive whenever the external drive is connected via USB. Everything works except the actual call to rdiff-backup. The udev detects the hard drive and…
2
votes
1 answer

Wildcards in exclude-filelist for duplicity

I am trying to exclude a "bulk" folder in each home directory from the backup. For this purpose, I have a line - /data/home/*/bulk in my exclude-filelist file. However, this doesn't seem to be recognised: Warning: file specification…
mcandril
  • 241
  • 3
  • 13
1
vote
0 answers

How can I reliably count the number of increments in an rdiff-backup directory?

The rdiff-backup utility is used to create an incremental mirror of a directory tree. I'd like to find out the number of increments currently saved, and save just this number into a variable value. I'm doing this from within a bash script, and need…
Arronical
  • 19,653
  • 18
  • 73
  • 128
1
vote
0 answers

archfs: backup does mount, but files are not accessible

archfs is a tool that lets one mount a rdiff-backup as a drive, and then browse the contents of the backup as if they were snapshots (think if BackInTime or Rsnapshot). rdiff-backup is a great tool made even greater by archfs. If it would only…
user258532
  • 1,238
  • 2
  • 16
  • 25
1
vote
1 answer

Running rdiff-backup version 1 (say 1.2.8) on Ubuntu 20.04

I need to run rdiff-backup version 1 (say 1.2.8) on Ubuntu 20.04 to allow the Ubuntu 20.04 box to be backed up by a legacy backup server. I tried to follow the post here: https://askubuntu.com/a/1280195/1564231, but this gave me the error: # apt…
Kevin W
  • 93
  • 1
  • 2
  • 5
1
vote
1 answer

How to prevent rdiff-backup from deleting files?

I am using rdiff-backup to back up my data (on Ubuntu 20.04), which works quite smoothly - and I appreciate the incremental backup, keeping the data easily accessible. However, since my internal hard drive is quite small, I would sometimes like to…
Rerun
  • 143
  • 2
  • 10
1
vote
0 answers

rdiff-backup tempdir appears to be empty

I recently had a problem with restoring an incremental snapshot using rdiff-backup where my main drive ran out of space. After setting --tempdir as discussed here, the problem went away and while restoring I can see bytes diminishing with df -h on…
1
vote
0 answers

Having trouble with rdiff-backup

I'm having trouble with automation of rdiff-backup. There are 2 issues right now. Script itself: #!/bin/bash ​# This is backup script for rdiff-backup # Backup command ​rdiff-backup --include-globbing-filelist /home/administrator/backup.list /…
zidrun
  • 11
  • 1
1
2