Jump to content

URBIS BACKUP Process

From TetraWiki
Revision as of 06:53, 15 April 2016 by Biswajit (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Urbis Backup process


Note: After taking backup copy all backup files in external HDD or directly take backup in external Drive.

Local IP: 192.168.0.101

Public IP: 122.160.4.208

User Name: root

Password: 24(qr){Ak};

Port: 8470

Logged in onto server:


tetra@tetra004:~$ ssh -l root 122.160.4.208 -p 8470

root@122.160.4.208's password:

root@porcupine:~#


Create a directory for backup:


root@porcupine:~# mkdir /home/rajarshi/backup_current_date

root@porcupine:~# su - rajarshi


Verify daily cron backup:

rajarshi@porcupine:~$ crontab -l

rajarshi@porcupine:~$ cd /home/rajarshi/backup/studio5db

rajarshi@porcupine:~/backup/studio5db$ ls -lrth


Backup of all cronjobs:

rajarshi@porcupine:~$ crontab -l > /home/rajarshi/backup_current_date/cronjob_backup_DATE.txt


Backup of all databases:

/usr/bin/mysqldump -u rajarshi -pm7 --all-databases > /home/rajarshi/backup_current_date/All-DB-Backup/db-DATE.sql


Backup of all scripts:

rajarshi@porcupine:~$ cp -pvr /var/w3/da/w3etc/cronjobs/run/studioR/* /home/rajarshi/backup_current_date/ScriptsBackup/

rajarshi@porcupine:~$ cp -rvp /var/w3/da/w3etc/cronjobs/bin/* /home/rajarshi/backup_current_date/ScriptsBackup/


As root user:

Take backup of /etc and /var directory:

root@porcupine:~# tar -cvzf /home/rajarshi/backup_current_date/etc_DATE.tar.gz /etc

root@porcupine:/# tar -cvzf /home/rajarshi/backup_current_date/var_DATE.tar.gz /var


Creating Cloning or Backup ISO Image of System/Server

After installing Mondo, Run “mondoarchive” command as “root” user. Then follow screenshots that shows how to create an ISO based backup media of your full system.


root@porcupine:~# mondoarchive


Welcome to Mondo Rescue


Please enter the full path name to the directory for your ISO Images. For example: /tank/backup_images


Select Type of compression. For example: bzip, gzip or lzo.


Select the maximum compression option.





Please enter how large you want each ISO image in MB (Megabytes). This should be less than or equal to the size of the CD-R(W)’s (i.e. 700) and for DVD’s (i.e. 4480).





Please give a name of your ISO image filename. For example: urbis101_backup1 to obtain urbis101_backup-[1-9]*.iso files



Please add the filesystems to backup (separated by “|“). The default filesystem is “/” means full backup.

Please exclude the filesystem that you don’t want to backup (separated by “|“). For example: “/tmp” and “/proc” are always excluded or if you want full backup of your system, just hit enter.


Please enter your temporary directory path or select default one.


Please enter your scratch directory path or select default one.


If you would like to backup extended attributes. Just hit “enter“.


If you want to Verify your backup, after mondo has created them. Click “Yes“.

If you’re using stable standalone Linux Kernel, click “Yes” or if you using other Kernel say “Gentoo” or “Debain” hit “No“.


Click “Yes” to proceed further.

Creating a catalog of “/” filesystem.



Dividing filelist into sets.


Calling MINDI to create boot+data disk.


Backing up filesytem. It may take a couple of hours, please be patient.


Backing up big files.


Running “mkisofs” to make ISO Image.


Verifying ISO Image tarballs.


Verifying ISO Image Big files.


Finally, Mondo Archive has completed. Please hit “Enter” to back to the shell prompt.



After completing the backup you will see an ISO image under given path, that you can burnt into a CD/DVD for later restore.