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
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
cp * /destination/directory
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.
cp, cpio, tar, dd, fsdump, rsync... whatever you like
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
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.