Newbie trying to write a simple backup script to backup a single folder Nd for school
I am trying to create a backup script that will back up a single folder for a class i am in. I was wandering if I could get some help. If possible I would also like to know how to write a script that can encrypt that same file . I will be putting the back up in my /home/usr/Backup directory. I am not trying to back up my whole system just a single folder. I am using Fedora 11
Thanks alot I am new to linux and am running fedora 11.
$ tar -cjf backup.tar.bz2 /folder/path
This command encrypts an existing file:
$ openssl enc -aes-256-cbc -e -in /file/to/encrypt -out /file/to/save
I will leave to you the task of combining these into a useful script.
Welcome to LQ!
Now that we are all aware of your 'needs'. What are your 'deeds'?
Just a few links to aid you;
Linux Documentation Project
Rute Tutorial & Exposition
Advanced Bash-Scripting Guide
Linux Command Guide
Linux Newbie Admin Guide
Getting Started with Linux
These links and others can be found at 'Slackware-Links' . More than just SlackwareŽ links!
|All times are GMT -5. The time now is 01:01 PM.|