Results 11 to 17 of 17
yey, smbmount + tar works for me.......
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-01-2005 #11Linux User
- Join Date
- Feb 2005
- Posts
- 290
yey, smbmount + tar works for me....
- 06-01-2005 #12Linux Engineer
- Join Date
- Feb 2005
- Posts
- 1,044
Scripting is usually the first solution on Linux! It's quicker and cheaper than trying to find a commercial package that does what you want, and you can tweak it as necessary to suit local requirements. Linux comes with the tools you need to do most things; scripting is just joining them together to achieve the desired result.
Originally Posted by bpark
For example, to backup a list of specific files, I'd use:
To backup files from a specific location:Code:cpio -o >backup <filelist
The find(1) above can be tweaked to only save files modified after a certain date if you want incermental backups.Code:find /backup/from/here -print -depth | cpio -o >backupfile
Both commands can be further enhanced by, for instance, compressing the resultant archive files.
- 06-01-2005 #13
I've been using a product called Acronis to backup / restore both Windows and Linux partitions / drives. It's not free, but when it comes to restoring data, I don't trust my scripting abilities
- 06-01-2005 #14Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
I think Veritas Backup Exec is available....That's preety much the most standard backup tool away from arcserve, and it's full of GUIs and cross platform availability.
Does cost a bomb though.
- 06-02-2005 #15Just Joined!
- Join Date
- May 2005
- Posts
- 8
easy backup solution
Amanda is very popular. might be overkill.
here's my /usr/local/bin/backup script which I cron to make a daily snapshot:
#!/usr/local/bin/bash
D=`date +%Y%m%d-%H%M`
F=/home/backups/system-backup-$D
cd /
tar cvvf - \
/etc \
/home/padm \
/root/.ssh \
/usr/local/bin \
/usr/local/etc \
/usr/local/jakarta-tomcat* \
/usr/local/www/cgi-bin \
/usr/local/www/data \
2> $F.list \
| bzip2 > $F.tar.bz2
I just then prune old backups
- 06-02-2005 #16Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
Which solutions can do differentials? This saves a lot of space, especially when there are requirements to hold data for long periods, or backups need to run quickly.
- 06-02-2005 #17Just Joined!
- Join Date
- May 2005
- Posts
- 8
just add "-mtime -7" into the tar command to only back up files changed in the last 7 days.


Reply With Quote
