Jump to content

URBIS BACKUP Process

From TetraWiki
Revision as of 04:58, 15 April 2016 by Biswajit (talk | contribs) (Created page with "'''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 Publ...")
(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

[[Image:]]


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

[[Image:]]


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

[[Image:]]


Select the maximum compression option.

[[Image:]]





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).

[[Image:]]





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


[[Image:]]


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

[[Image:]]

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.

[[Image:]]


Please enter your temporary directory path or select default one.


[[Image:]]

Please enter your scratch directory path or select default one.

[[Image:]]


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


[[Image:]]

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

[[Image:]]

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


[[Image:]]

Click “Yes” to proceed further.

[[Image:]]

Creating a catalog of “/” filesystem.


[[Image:]]


Dividing filelist into sets.

[[Image:]]


Calling MINDI to create boot+data disk.


[[Image:]]

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

[[Image:]]


Backing up big files.

[[Image:]]


Running “mkisofs” to make ISO Image.

[[Image:]]


Verifying ISO Image tarballs.

[[Image:]]


Verifying ISO Image Big files.

[[Image:]]


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


[[Image:]]


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