Unix script to create a backup on a remote computer

May 22, 2012 at 09:01:13
Specs: Fedora, Pentium 4 2GHz
Hello, I need your help on this matter:

Creating an UNIX script that creates an archive of a target local directory on a remote computer, the archives must be transfered along the net by using "ssh" with generated keys (to avoid password request every time). The local directory is taken as an argument from the standard keyboard input, while the target directory can be predefined.

There are two restrictions:
1. The script should create a number of archives, each no bigger in size than 2GB (there will be no files larger than 2GB)
2. Each file should be put in a single archive, as opposed to half a file in arcive1 and the other half in archive2.

The script must also create a simple database (some form of txt file), listing which archive contains which files.

Thank you!

See More: Unix script to create a backup on a remote computer

Report •

May 30, 2012 at 21:21:25
So try writing one and then ask for help with any issues you encounter. People are not here to do your job or your homework, whichever this happens to be.

I have had to work with people like you all my life; trying to get things done via the easiest and laziest way possible. They are now working in a career field that better suits them. Many of them are now employed in the field of custodial science.

Report •

June 4, 2012 at 14:24:11
A co-worker, who's a linux guru, showed me a command (don't ask, it was several years ago and I've forgotten it) to tar and move files all in one command.

That should help you in your research.

It matters not how straight the gate,
How charged with punishments the scroll,
I am the master of my fate;
I am the captain of my soul.

***William Henley***

Report •
Related Solutions

Ask Question