954,093 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Backup script

hey im a newbie and wanted to know if anyone had the full script to backup the current files in your directory. Only the files and not folders into a different specified directory.

Cheers if anyone is able to help me

Dan86
Newbie Poster
1 post since Oct 2007
Reputation Points: 10
Solved Threads: 0
 

cp * /destination/directory

John A
Vampirical Lurker
Team Colleague
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339
 

or if you want to do a proper backup of filesystems then use ufsdump and ufsrestore its a really useful tool and can be scehduled using cron. Read the man pages they give the best description.

chris5126
Posting Pro in Training
415 posts since Feb 2006
Reputation Points: 38
Solved Threads: 15
 

cp, cpio, tar, dd, fsdump, rsync... whatever you like

DimaYasny
Posting Virtuoso
Moderator
1,777 posts since Jan 2007
Reputation Points: 183
Solved Threads: 89
 

I have one links,it may useful to you!I hope you find you want to your script!
http://pigeons.cvs.sourceforge.net/pigeons/xybackup/src/

cheers

gaowei
Newbie Poster
18 posts since Jun 2007
Reputation Points: 26
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: