Questions tagged [rdiff-backup]

Incremental backup tool using rsync algorithm and reverse-chronological increments.

Homepage

19 questions
5
votes
2 answers

How to backup/restor python virtualenv?

A python virtualenv is full of symlinks: $ virtualenv venv Running virtualenv with interpreter /usr/bin/python2 New python executable in venv/bin/python2 Also creating executable in venv/bin/python Installing setuptools, pip...done. $ tree…
user3313834
  • 7,327
  • 12
  • 56
  • 99
4
votes
1 answer

rdiff-backup fatal errors, relevant increments found?

I'm running rdiff-backup to backup some folders on a remote system. rdiff-backup root@::/apps/myapp/shared/system /home/backups/system echo "$(date): Completed... removing backup data older than 4 weeks" rdiff-backup…
Brian
  • 7,204
  • 12
  • 51
  • 84
2
votes
2 answers

How to exclude wildcard directory but include wildcard files using rdiff-backup?

I am using rdiff-backup. Really awesome simple powerful backup tool. However I am fighting with wildcard glob patterns. I have this directory structure: /data/aaa/cache /data/bbb/cache /data/ccc/cache etc.... In each cache directory are original…
Frodik
  • 14,986
  • 23
  • 90
  • 141
2
votes
2 answers

Python subprocess.popen and rdiff-backup

I want to create a rdiff-backup wrapper program in python for backing up windows machines to a linux server. I want to process the output of rdiff-backup in the wrapper program. But when executing rdiff-backup with the subprocess module and piping…
vdrmrt
  • 862
  • 8
  • 14
1
vote
1 answer

rdiff-backup increment contents (files added, removed, updated, etc.)

I haven't found any obvious answer to that question in the rdiff-backup documentation: is there a simple way to list the changes included in a given increment, i.e. which files/folders have been added, removed, updated, etc.? I'm not necessarily…
Olivier Bruchez
  • 476
  • 5
  • 11
1
vote
1 answer

What effect does rdiff-backup's --exclude option have on previous increments?

Using rdiff-backup, a reverse-incremental backup tool, if I use the --exclude option to exclude some files that were previously included in earlier increments (older backups), what effect will it have?
JesseW
  • 1,255
  • 11
  • 19
1
vote
1 answer

rdiff-backup java runtime exec remote multi args issues

I must execute rdiff-backup commands in Java. I desesperatly try to execute a backup command from local to remote with Runtime. I need to use a remote schema because I can't connect to standart port 22. As same commands work in windows shell, remote…
Greg B
  • 13
  • 5
1
vote
1 answer

Why rdiff-backup doesn't execute from bash as cron on Mac Os X

I wrote a simple bash script that makes backups with rdiff-backup on Mac OS X Yosemite. Here it is: #!/bin/bash MODIF=`stat -f '%m' backup-data.txt` NOW=`date +%s` DIFF=$(($NOW-$MODIF)) BACKTIME=$((3600*8)) # EVERY BACKTIME/3600 HOURS SHOULD BE…
1
vote
0 answers

rdiff-backup errors: script keeps quitting with error

Ive recently been introduced to bash scripting... So, Ive used my advanced theft course to throw together the attached script. it runs... and exits with "/xxx/ not mounted. You are not root! I have rdiff-backup and sshfs installed and working. The…
Brendan
  • 127
  • 2
  • 9
0
votes
1 answer

launchd remote rdiff-backup

I am having a problem with my backupscript that does not seem to work with OS X launchd. This is my script that I would like to run: # # backupscript # NOW=$(date +"%y%m%d-%H:%M:%S")…
0
votes
1 answer

rdiff-backup-like storage on Artifactory

I am looking for a way to store files in Artifactory repository in a storage efficient way and upload/download difference between local version and remote in order to save disk space, bandwidth and time. There are two good utilities which works in…
kyb
  • 7,233
  • 5
  • 52
  • 105
0
votes
1 answer

Store diffs of binary files to Git with rdiff-backup or similar tool

I read several topic about storing binary files/blobs to Git and got that this is not good idea, and did not found any good approach. I'd like to make Git to create git-objects - diffs of binary files - with a special tool, i.e. rdiff-backup. Is it…
kyb
  • 7,233
  • 5
  • 52
  • 105
0
votes
1 answer

rdiff-backup with timestamps instead checksums

I switched my personal "backup" from rsync to rdiff-backup. rsync compares only file timestamps and rdiff-backup uses checksums on files. So rdiff-backup needs much more time (10 minutes vs 80 minutes) Is there a way to use rdiff-backup also only…
klml
  • 1,718
  • 16
  • 22
0
votes
1 answer

bash script calling rdiff-backup never ends

I want to run rdiff-backup and then switch of the raspberrypi it was running on. I use the following script: #!/bin/sh date > /home/mik/rdiff-backup.log echo "rsync start" >> /home/mik/rdiff-backup.log rdiff-backup -v5 --print-statistics…
Bil_Bomba
  • 183
  • 1
  • 8
0
votes
0 answers

rdiff-backup on WindowsOS: cannot get "--exclude C:/target/stuff" to work

I am working on backing up a number of local and non-local files to my Windows machine. I am familiar with rdiff-backup from other Linux boxes that I use. I have installed rdiff-backup using instructions etc from here,…
portsample
  • 1,986
  • 4
  • 19
  • 35
1
2