Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Backup

Name: Anonymous 2006-05-08 19:55

Does anyone know of the good backup program? 
I do not want an image utility

I have a 250 GB hard drive in my main computer, and a 250 GB hard drive in my server computer along with other hard drives.  I would like the server computer to basically make copy of the file structure of my 250 gigger in my main computer and from time to time scan for changes.  If possible, I would like to be able to set how often each folder updates to check for changes as in like

check D:\Music on main computer weekly  (backup that folder weekly)
check D:\Photo on main computer daily and backup daily, etc.

Name: Anonymous 2006-05-09 2:36

Use dd. It's a *nix utility; since you're on Windows, try using it under Cygwin. dd basically makes a bit-for-bit copy of a filesystem, which is what you want. For scheduled backups, you might be able to use cron.

Name: J3ph42 2006-05-09 10:50

I just put a script like this in cron.weekly
#!/bin/sh
[ -f "<directory....>/backup.tar.gz.old" ] && rm
"<directory....>/backup.tar.gz.old" || "File backup.tar.gz.old does not
exist"
[ -f "<directory....>/backup.tar.gz" ] && mv backup.tar.gz
backup.tar.gz.old || echo "File backup.tar.gz does not exist"
echo 'date+%m%d%y'
echo datestamp
echo "Welcome! This script will back up user's home directories"
echo "Backing the home directory and etc"
tar -cvf <directory....>/backup.tar /home /etc
gzip <directory....>/backup.tar
echo "Backup completed successfully"

Name: Anonymous 2006-05-09 11:04

There's a neat backup hack involving hard-links and rsync:

mv /Backup/System.02 /Backup/System.03
mv /Backup/System.01 /Backup/System.02 #  ...and so on
pax -r -w -l -p e . /Backup/System.01 # duplicate the whole tree, but using hardlinks
cd /
rsync -aOHS --delete --delete-excluded --filter="- /Backup" / /Backup/System

The way that hardlinks and rsync work allows you to keep snapshots of the whole system numerous times over while using little extra diskspace.

Name: J3ph42 2006-05-09 14:45

>>4

Good plan
I actually only needed to backup userland in my case, and working on an outdated Mandrake system.

Don't change these.
Name: Email:
Entire Thread Thread List