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

Recommended Answers

All 4 Replies

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.