Rotating snapshot backup using rsync


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Rotating snapshot backup using rsync
# 1  
Old 12-02-2010
Rotating snapshot backup using rsync

I want to take daily backup(11pm) of /var/www to /mnt/bak excluding /var/www/videos and /var/www/old. HOW to implement a rotating snapshot method, so that i can have multiple(say 4) automatically rotating backups.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Backup solution using rsync

Hello All, I am looking at a fast way to script some backups. I am looking at using rsync to do the leg work. I am having a hard time conceiving a script though. I have a tree with subfolders within subfolders. I was looking at the /xd option to parse the tree. Directory of k:\ ... (4 Replies)
Discussion started by: jvamos
4 Replies

2. Shell Programming and Scripting

Rsync better use for backup

Hello, I have a list of working directory in a remote computer acesssible through ssh and the same directory structure in my home directory of my laptop. I sometimes work on both my laptop and my this other computer. I usually use Rsync this way to synchronize files rsync... (5 Replies)
Discussion started by: ajayram
5 Replies

3. OS X (Apple)

Snapshot backup

Hi all: I'm trying to do the following: 1) Each monday (for every week or bi-weekly) I'll perform a full backup of my 2 Tb RAID 1 system to an external eSATA 2 Tb HDD. I'll move this HDD to a different physical place (my home i.e). 2) Each day after monday until the next backup, I want to... (3 Replies)
Discussion started by: alvgarci
3 Replies

4. AIX

rsync backup root files

Hi, I am trying to use rsync utility through ssh to synchronize some root files of 2 servers. I have a rsyncusr user in each server. I configured ssh with no password. I set NOPASSWD in the /etc/sudoers file: rsyncusr ALL= NOPASSWD:/usr/bin/rsync In order to make rsync able to sudo and be... (2 Replies)
Discussion started by: samalogo
2 Replies

5. Shell Programming and Scripting

Rsync script and backup problems.

Hello everybody I'm triing since few days to do this. So sorry if my question looks stupide, but i've tried. I have to get picture from a folder (who is updated automaticly and with subfolder) with theirs extensions (i'm ok on that) and this files have to me copied in a folder where a website... (7 Replies)
Discussion started by: boytruc
7 Replies

6. Shell Programming and Scripting

rsync backup mode(--backup) Are there any options to remove backup folders on successful deployment?

Hi Everyone, we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment? Thanks in adv. (0 Replies)
Discussion started by: MVEERA
0 Replies

7. Shell Programming and Scripting

rsync backup and recovery options

Hi, Do we have any options in rsync to recover files from the backup? Please share your thoughts. Thanks in advance. (0 Replies)
Discussion started by: MVEERA
0 Replies

8. Shell Programming and Scripting

Rsync backup

How do i use Rsync yo pickup only new or modified files from source? I am using rsync -ravzpotu --delete-excluded but sometimes it goes thru all files again (5 Replies)
Discussion started by: sprool
5 Replies

9. Solaris

backup,restore and ufs snapshot

dear all, i want to perform back up,restore and snapshot activities in the hard disk using solaries 10. how can i do this, can any body provide me step by step precedure for that. waiting for reply. al amin (2 Replies)
Discussion started by: alamin
2 Replies
Login or Register to Ask a Question
FSSCONFIG(8)						    BSD System Manager's Manual 					      FSSCONFIG(8)

NAME
fssconfig -- configure file system snapshot devices SYNOPSIS
fssconfig [-cxv] device path backup [cluster [size]] fssconfig -u [-v] device fssconfig -l [-v] [device] DESCRIPTION
The fssconfig command configures file system snapshot pseudo disk devices. It will associate the file system snapshot disk device with a snapshot of path allowing the latter to be accessed as though it were a disk. If backup resides on the snapshotted file system a persistent snapshot will be created. This snapshot is active until backup is unlinked. This snapshot mode is only supported for ffs files systems. Otherwise data written through the path will be saved in backup. If backup is a regular file, it will be created with length size. Default size is the size of path. Data is saved to backup in units of cluster bytes. Options indicate an action to be performed: -c Configures the device. If successful, references to device will access the contents of path at the time the snapshot was taken. If backup is a directory, a temporary file will be created in this directory. This file will be unlinked on exit. -l List the snapshot devices and indicate which ones are in use. If a specific device is given, then only that will be described. -u Unconfigures the device. -v Be more verbose listing the snapshot devices. -x Unlink backup after the device is configured. If no action option is given, -c is assumed. FILES
/dev/rfss? /dev/fss? EXAMPLES
fssconfig fss0 /usr /tmp/back Configures the snapshot device fss0 for a snapshot of the /usr file system. Data written through /usr will be backed up in /tmp/back. fssconfig fss1 / /dev/rsd0e 8192 Configures the snapshot device fss1 for a snapshot of the / file system. Data written through / will be backed up in /dev/rsd0e. The backup will take place in units of 8192 bytes. fssconfig -u fss0 Unconfigures the fss0 device. SEE ALSO
opendisk(3), fss(4), mount(8), umount(8) HISTORY
The fssconfig command appeared in NetBSD 2.0. BSD
June 11, 2012 BSD