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
2 answers

rsnapshot stats

I'd like to retrieve the following stats from rsnapshot files synced added files modded files deleted files Is there a feature to retrieve these in rsnapshot, or is there another product that's able to do it? EDIT: As requested, I'll try to show…
Barium Scoorge
  • 135
  • 1
  • 6
1
vote
1 answer

rsnapshot - not correctly archiving mysql databases

My rsnapshot configuration: snapshot_root /.snapshots/ backup /home/user localhost/ backup_script /usr/local/backup_mysql.sh localhost/mysql/ Using this file: NOW=$(date +"%m-%d-%Y") # mm-dd-yyyy format FILE="" #…
Tiffany Walker
  • 6,681
  • 14
  • 56
  • 82
1
vote
2 answers

rsnapshot preexec

I am mounting my remote backup volume using a rsnapshot cmd_preexec script. If the /mnt/backup directory doesn't exist when starting rsnapshot i get this error: ERROR: /mnt/backup does not exist. If the directory exists and the preexec mounting…
Zulakis
  • 4,153
  • 14
  • 48
  • 76
1
vote
3 answers

incremental archive backup similar to rsnapshot

I am looking for a similar tool like rsnapshot, capable of doing incremental backups and easy viewing of different backup versions (=easy unpacking of all increments of a specific backup or viewing of single files without unpacking them all). I…
Zulakis
  • 4,153
  • 14
  • 48
  • 76
1
vote
1 answer

Configuring rsnapshot to only backup local file systems

I'm currently using rsnapshot to backup a server farm where NFS is used heavily. Unfortunately, the current setup has us backing up the same files multiple times due to the NFS mounts. For example, /etc/rsnapshot.conf has this: backup…
Matt
  • 933
  • 5
  • 12
1
vote
1 answer

Speeding up directory creation / file linking

I'm using rsnapshot for backups. Currently that means every time an update runs (even without any data difference) I get a copy of ~100M of only the directory structure + inode list. The files are almost exclusively hardlinks. The potential problem…
viraptor
  • 1,296
  • 6
  • 21
  • 41
1
vote
4 answers

How to backup a server directory remotely?

I am trying to create a backup of a remote server. This is my configuration: Server1 (webserver) Server2 (backupserver) This is my little script. It starts from the server2: #!/bin/bash date=`date…
Michelangelo
  • 260
  • 2
  • 13
1
vote
1 answer

Backup security and tracking

I have setup a backup server which pulls data using rsnapshot from my server. rsnapshot is running as root on backup machine and connects to the server via RSA key that has no passphrase. My concern is that this may not be a good securitywise. If…
user80666
  • 459
  • 2
  • 6
  • 15
1
vote
1 answer

Backup of rsync tree

I have a production server A and a VM server B (test and dev). Server B has hourly rsnapshots of server A. We'd like to use the snapshot tree at server B for further propragation to one of our branch offices. Is this adviseable or possible? Edit:…
matiasf
  • 135
  • 4
1
vote
2 answers

How to backup my files secure and properly

Duplicity & rsnapshot helps me backup my files to remote FTPs server. I can recover file if my server harddisk failed. But if someone hacking my local server and he can get all remote server access info from cron scripts, so hacker can remove the…
Qooe
  • 111
  • 2
1
vote
2 answers

rsnapshot schedule overlapping, help with backup schedule

I have to following configuration. rsnapshot.conf interval halfhourly 4 interval hourly 6 interval twohourly 12 interval daily 7 interval weekly 4 crontab 0,30 * * * * /usr/bin/rsnapshot halfhourly…
Markus Hedlund
  • 1,127
  • 2
  • 19
  • 33
1
vote
1 answer

ERROR: snapshot_root must be a full path

I want to use rsnapshot to make backups of some folders on a remote server. I've already setup Key Based Authentication, and I've specified in rsnapshot.conf: snapshot_root user@server.com/ however I get the following error: ERROR: snapshot_root…
aneuryzm
  • 1,714
  • 5
  • 26
  • 41
1
vote
1 answer

Filter the output of locate not to show the Duplicates in rsnapshot

When I use locate on my server and the result is in my rsnapshot backup then I get all those duplicates. I could use grep to filter out all rsnapshot files: locate something_in_backup | grep -v /var/cache/rsnapshot but then I would miss files in…
rubo77
  • 2,469
  • 4
  • 34
  • 66
1
vote
1 answer

explain rsnapshot incremental rotation

Need help on rsnapshot. I am doing full backup every week with bash scripting which is costly for disk space. Now I am thinking to use rsnapshot and what I want to do with rsnapshot is do a weekly incremental backup and monthly full backup. So, this…
1
vote
1 answer

Why are rsnapshot cron jobs running on the wrong schedule?

I have hourly, daily, weekly etc. backups of a mysql database run by rsnapshot. These are running regularly, but on the wrong schedule. Here are the contents of /etc/cron.d/rsnapshot: 5 * * * * root /usr/bin/rsnapshot…
Kit Johnson
  • 131
  • 5