script/tool for backing up selected directories and selected files in them?
Hi, I'm looking for a script or a tool that would allow me to backup chosen directories and some but not all files in them (some of my files are just too big to back up and can be easily reproduced from the scripts). Thanks for your help, Wojtek __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/
* Wojtek Malinski; <wmalinski@yahoo.com> on 23 Jan, 2004 wrote:
Hi,
I'm looking for a script or a tool that would allow me to backup chosen directories and some but not all files in them (some of my files are just too big to back up and can be easily reproduced from the scripts).
Have you looked at yast2 backup module ? -- Togan Muftuoglu | Unofficial SuSE FAQ Maintainer | Please reply to the list; http://susefaq.sf.net | Please don't put me in TO/CC. Nisi defectum, haud refiecendum
The Saturday 2004-01-24 at 00:47 +0100, Togan Muftuoglu wrote:
Have you looked at yast2 backup module ?
Unless 9.0 has improved greatly on the 8.2 version, it is impractical. - Horribly slow. - Needs a lot of space to make a full copy in /tmp (and crashes if insufficient space). - Configuration of what to save or not is not saved for another run - No tree view to select things to update or not. - After it generates a list of files to backup (process that may take an hour) there is not easy way to adjust it, ie, remove/add things using patterns, for example, or a tree browsable list. - Support for spanning to several disks, with compression and media error recovery is lacking. I'm sorry, but I have to compare any backup program with what I had with PCtools Backup (Central Point Software) back in 1992. Nothing I have seen in Linux yet is as good as that was - but I have not seen all yet. -- Cheers, Carlos Robinson
If you don't require a GUI for configuration, amanda is fairly decent. Carlos E. R. wrote:
I'm sorry, but I have to compare any backup program with what I had with PCtools Backup (Central Point Software) back in 1992. Nothing I have seen in Linux yet is as good as that was - but I have not seen all yet.
-- ---------------------------------------------------------------------- Patrick Greenwell, Support Account Manager, Fortune 500 SUSE LINUX, 1100 Sansome St., San Francisco, CA, 94111 T: +1 415 591 6607 - Cell: +1 510 499 7896 F: +1 510 591 6619 - patrick@suse.com ----------------------------------------------------------------------
The Monday 2004-01-26 at 14:28 -0800, Patrick Greenwell wrote:
If you don't require a GUI for configuration, amanda is fairly decent.
But it requires a tape drive. A good backup software should have multiple possibilities. -- Cheers, Carlos Robinson
Carlos E. R. wrote:
The Monday 2004-01-26 at 14:28 -0800, Patrick Greenwell wrote:
If you don't require a GUI for configuration, amanda is fairly decent.
But it requires a tape drive.
No it doesn't. http://amanda.sourceforge.net/fom-serve/cache/191.html Now you might argue it's a pain in the ass to setup, but that's another thing... ;-) -- ---------------------------------------------------------------------- Patrick Greenwell, Support Account Manager, Fortune 500 SUSE LINUX, 1100 Sansome St., San Francisco, CA, 94111 T: +1 415 591 6607 - Cell: +1 510 499 7896 F: +1 510 591 6619 - patrick@suse.com ----------------------------------------------------------------------
The Monday 2004-01-26 at 18:25 -0800, Patrick Greenwell wrote:
If you don't require a GUI for configuration, amanda is fairly decent.
But it requires a tape drive.
No it doesn't.
According to the rpm supplied by SuSE (8.2) it does: | Description : | This is a release of Amanda, the Advanced Maryland Automatic | Network Disk Archiver. Amanda is a backup system designed to archive many | computers on a network to a single large-capacity tape drive. ____________________________________________________^^^^ I installed it two or three years ago and I uninstalled it because of that. I might try again. Can it backup to a set of CDs, then? -- Cheers, Carlos Robinson
On Tuesday 27 January 2004 00:07, Carlos E. R. wrote:
A good backup software should have multiple possibilities.
RDIFF-BACKUP is considered excellent program -- best wishes ____________ sent on Linux ____________
On Tue, 2004-01-27 at 00:29, pinto wrote:
On Tuesday 27 January 2004 00:07, Carlos E. R. wrote:
A good backup software should have multiple possibilities.
RDIFF-BACKUP is considered excellent program
I think you are correct but be careful how you install it. At least on my system, the Red Hat RPM did NOT install properly. Don Henson
The Tuesday 2004-01-27 at 07:29 -0000, pinto wrote:
A good backup software should have multiple possibilities.
RDIFF-BACKUP is considered excellent program
But it is not included by SuSE (8.2). Where is the sources home page? -- Cheers, Carlos Robinson
On Tuesday 27 January 2004 21:57, Carlos E. R. wrote:
RDIFF-BACKUP is considered excellent program But it is not included by SuSE (8.2). Where is the sources home page?
http://rdiff-backup.stanford.edu/ -- best wishes ____________ sent on Linux ____________
Hi,
I'm looking for a script or a tool that would allow me to backup chosen directories and some but not all files in them (some of my files are just too big to back up and can be easily reproduced from the scripts).
Do you just want to eliminate any large files from your backup (a list generated dynamically on each backup?) Or do you want to eliminate specific files from every backup (those easily regeneratable)? If you are okay using find/tar, I would suggest that. It should be fairly easy to write a script. With find you can find files that match certain criteria (including size). Put your find results in a file (say "tarthese.txt"). Or if you only want to exclude certain files, you can put them in a file called say "donottarthese.txt". Then run tar e.g.: tar --exclude-from donottarthese.txt or tar --files-from tarthese.txt and put the tar file either straight to tape or to a filesystme which you will dump to tape . If you get stuck on the man pages of tar and find and still need help, let me know. I did something like this a few years ago. For our MS users, we had a /home/backup/ dir on a samba share so any files on their desktop they wanted backed up they put here. I would sometimes also use tar/find to tar some files on linux desktops and then put them in /home/backup. We would then include the /home/backup on the linux samba share as part of our tape backups. Ben Yau
Wojtek Malinski <wmalinski@yahoo.com> writes:
I'm looking for a script or a tool that would allow me to backup chosen directories and some but not all files in them (some of my files are just too big to back up and can be easily reproduced from the scripts).
find and cpio can do it but good knowledge of both commands is required. -- A.M.
Ummm, don't know if you refer to something like this: (using bash) $ > tar czf MyBackup.tar.gz $(find somePath -name "*" | grep -v "not_This_File not_This_Other ...") The $(codeInside) just run "code_inside" and it's output is used as it typewritted manually. You can use intermediate temporary files if you wan to do further proccessing. The "find" command is standard in any Linux/Unix distro and has many really usefull parameters. Have a look at the man page. --- Wojtek Malinski <wmalinski@yahoo.com> escribió: > Hi,
I'm looking for a script or a tool that would allow me to backup chosen directories and some but not all files in them (some of my files are just too big to back up and can be easily reproduced from the scripts).
Thanks for your help, Wojtek
__________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
~ maybe a tiny script using RSYNC could be handy , like :- .............................. #!/bin/sh # # use rsync to backup /home to /dev/hda6 # mount -t reiserfs /dev/hda6 /mnt cd rsync -auvzr --delete /home /mnt df umount /mnt cd .................................... best wishes ____________ sent on Linux ____________
participants (9)
-
Alexandr Malusek
-
Ben Yau
-
Carlos E. R.
-
Donald D Henson
-
Enrique Arizón
-
Patrick Greenwell
-
pinto
-
Togan Muftuoglu
-
Wojtek Malinski