Jims full backup

From Origami_Wiki
Jump to navigation Jump to search

This is a quick guide about how to take the JIMS "full" backup using a customized rsync function. I've created the function as a script for the easiness and have put it in the home directory of user "origami". The backup is taken at the end of every month and you need to do this ONLY if I'm absent at the time.

The following is what you need to do in such case:

1. Login to admin system as user "origami". 2. Open terminal from the side task bar. 3. Type "./jims_rsync.sh" without quotes and press Enter. That's all.

The backup process will start within a minute and will be visible in the terminal.

The backups will be written to the location "/home/origami/JIMS_bkp/Synced_backup/". (approx size 27GB)

Before running the script, make sure the backup of the previous month is already written to DVDs.



How to write JIMS full backup into DVDs.

1. Open terminal 2. Go to location JIMS_bkp ( cd JIMS_bkp/) 3. type and enter command- tar czvf - Synced_backup/ | split --bytes=4600MB - Jimsfull.tar.gz

The total size of the Synced_backup folder will be around 27GB. The above command will compress and split them into 4 or 5 equal parts so that we can easily write them to DVDs.

After running this command you will obtain 4 or 5 tar files in your current folder. File name examples: Jimsfull.tar.gzaa, Jimsfull.tar.gzab, Jimsfull.tar.gzac, Jimsfull.tar.gzad



How to extract JIMS full backup

This instruction set is already copied in a text file and is copied in every JIMS full backup DVDs for easiness for the user.

1. copy all the tar files into a single directory 2. open a terminal 3. open the folder location using cd command in the terminal 4. run the following command

  cat Jimsfull.tar.gz.* | tar xzvf -

Done