Questions tagged [rsnapshot]

Rsnapshot is a filesystem snapshot utility for making backups of local and remote systems.

Rsnapshot is a filesystem snapshot utility for making backups of local and remote systems.

Using rsync and hard links, it is possible to keep multiple, full backups instantly available. The disk space required is just a little more than the space of one full backup, plus incrementals.

Official page

119 questions
1
vote
1 answer

Rsnapshot remote backup_script execution using non standard ssh port and key?

Using rsnapshot to backup a remote host with a non-standard ssh port (:444) rsnapshot.conf setup: ssh_args -p444 backup user@domain:/data/location/ vps2/site/ OK, no issue on port 444 for "normal" backup. Issues are on backup_script…
1
vote
1 answer

In Rsnapshot, error in config excluding remote folders

I've severals VPS with Ubuntu 18.04 LTS. One of these VPS is the backup master and launches rsnapshot to backup its own folders and pull the remote folders on the other VPSs. These are the commands in the file rsnapshot.conf: #server1 (backup…
1
vote
1 answer

rsnapshot produces a double backup of localhost/media

I use rsnapshot in my Xen host to backup all vms via their snapshots. Now rsnapshot backups everything double, because it creates an extra "localhost" folder in each daily backup, that contains everything in /media/snapshots again. for example those…
rubo77
  • 2,469
  • 4
  • 34
  • 66
1
vote
1 answer

Git clone through rsnapshot fails

I'm trying to run my custom backup script through rsnapshot. It simply clones a given git repository to the current working directory. It works fine when run without rsnapshot. /etc/rsnapshot.config: backup_script /usr/local/bin/gitbackup.py -r…
Dirk Eschler
  • 111
  • 3
1
vote
1 answer

Multiple server backups using kubernetes and rsnapshot

I am looking to setup multiple backups, from multiple servers in different geographical locations at different times using something like a docker/rsnapshot and kubernetes (master + a couple nodes at least). I am pretty familiar with the general…
Op4
  • 11
  • 1
1
vote
0 answers

rsnapshot gamma and delta not running

I have used rsnapshot for many years and never had an issue but I can't figure this one out. Version is 1.4.2. I have the following in rsnapshot.conf: retain alpha 8 retain beta 7 retain gamma 8 retain delta 12 ..and…
Debianuser
  • 421
  • 4
  • 12
  • 29
1
vote
1 answer

rsnapshot-diff - what's using all that space?

I am running rsnapshot, and certain backups are taking up a lot of space. I've run rsnapshot-diff, and it gives results like this: Between /home/backups/hourly.4/mybackupdir/ and /home/backups/daily.0/mybackupdir/: 1705 were added, taking…
ticktockhouse
  • 731
  • 1
  • 10
  • 18
1
vote
0 answers

rsnapshot ignoring a "backup" line, logs are empty

I've been using rsnapshot to backup my server. In one server (debian 7) the exact same config works as expected. In the other (debian 8), it skips a directory im trying to backup, which has mysql dump files. Tried changing it's order. Tried…
Sniffleh
  • 181
  • 9
1
vote
0 answers

How to create image file and mount via. loopback (Ubuntu to remote backup space)

I've been fiddling around with the Hetzner Backup Space and I want to use rsync via. rsnapshot in order to back up my files (more info at their Wiki here) They state in their documentation: The direct use of rsync is not possible. Backup space can,…
Arni J
  • 65
  • 6
1
vote
1 answer

How to tar Rsnapshot backup files automatically?

I am using Rsnapshot to backup my server files to a remote server. To minimize the file size, I want to tar the backup files, but I don't know how to do it with Rsnapshot. Can anyone help me with this? Any help would be grateful. Thank You.
technoob
  • 142
  • 1
  • 14
1
vote
1 answer

Can nginx test for a hard links or symlinks and redirect the browser client to the _real_ URL?

Imagine nginx is serving a folder of static images created by rsnapshot: /rsnapshots/hourly.0/imageA.png /rsnapshots/hourly.0/imageB.png So if I go here: http://example.com/hourly.0/imageA.png, I see ImageA.png RSnapshot will just create a hard link…
Taytay
  • 113
  • 6
1
vote
1 answer

Syncing rsnapshot backup drives

I have a pair of USB drives I use for backing up to via rsnapshot. One drive is left plugged in and the other is taken off site. For the first swap, I ran "rsync -aH" to copy all the contents from current drive onto the offsite drive. This…
1
vote
3 answers

Backing up rsnapshot directory with rsync copies entires backup directory

I have a main backup server running rsnapshot, with ~2TB of backups stored on it. After the nightly backups, I copy the contents of the rsnapshot directory to an offsite server, using rsync -aH --delete /source /dest. However, this seems to copy the…
zymhan
  • 1,371
  • 1
  • 17
  • 30
1
vote
2 answers

How to let rsnapshot continue after backup error?

I have implemented a multi-server backup system, which is working quite effectively. I have a backup server with a large disk-array, and every night it runs rsnapshot to backup relevant data on all servers on the LAN (linux/windows). Connection to…
MarcoS
  • 111
  • 5
1
vote
0 answers

Is it possible to have multiple log files for one rsnapshot?

the company im working for use rsnapshot for its backup. I know where to put the log path in the conf file, but i was wondering if it was possible to have something like : /var/log/rsnapshot --> for normal snapshot /var/log/rsnapshot.err --> for…
littleadmin
  • 177
  • 1
  • 1
  • 11