Jump to content

URBIS BACKUP Process: Difference between revisions

From TetraWiki
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..."
 
No edit summary
Line 77: Line 77:
Welcome to Mondo Rescue
Welcome to Mondo Rescue


[[Image:]]
[[Image:Urbis-b-1.jpg]]




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


[[Image:]]
[[Image:Urbis-b-2.jpg]]




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


[[Image:]]
[[Image:Urbis-b-3.jpg]]




Select the maximum '''compression''' option.
Select the maximum '''compression''' option.


[[Image:]]
[[Image:Urbis-b-4.jpg]]




Line 100: Line 100:
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 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:]]
[[Image:Urbis-b-5.jpg]]




Line 109: Line 109:




[[Image:]]
[[Image:Urbis-b-6.jpg]]




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


[[Image:]]
[[Image:Urbis-b-7.jpg]]


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 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:]]
[[Image:Urbis-b-8.jpg]]




Line 124: Line 124:




[[Image:]]
[[Image:Urbis-b-9.jpg]]


Please enter your scratch directory path or select default one.
Please enter your scratch directory path or select default one.


[[Image:]]
[[Image:Urbis-b-10.jpg]]




Line 134: Line 134:




[[Image:]]
[[Image:Urbis-b-11.jpg]]


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


[[Image:]]
[[Image:Urbis-b-12.jpg]]


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




[[Image:]]
[[Image:Urbis-b-13.jpg]]


Click “'''Yes'''” to proceed further.
Click “'''Yes'''” to proceed further.


[[Image:]]
[[Image:Urbis-b-14.jpg]]


Creating a catalog of “'''/'''” filesystem.
Creating a catalog of “'''/'''” filesystem.




[[Image:]]
[[Image:Urbis-b-15.jpg]]




Dividing filelist into sets.
Dividing filelist into sets.


[[Image:]]
[[Image:Urbis-b-16.jpg]]




Line 163: Line 163:




[[Image:]]
[[Image:Urbis-b-17.jpg]]


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


[[Image:]]
[[Image:Urbis-b-18.png]]




Backing up big files.
Backing up big files.


[[Image:]]
[[Image:Urbis-b-19.png]]




Running “'''mkisofs'''” to make ISO Image.
Running “'''mkisofs'''” to make ISO Image.


[[Image:]]
[[Image:Urbis-b-20.png]]




Verifying ISO Image tarballs.
Verifying ISO Image tarballs.


[[Image:]]
[[Image:Urbis-b-21.png]]




'''Verifying ISO''' Image Big files.
'''Verifying ISO''' Image Big files.


[[Image:]]
[[Image:Urbis-b-22.png]]




Line 193: Line 193:




[[Image:]]
[[Image:Urbis-b-23.png]]




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

Revision as of 06:50, 15 April 2016

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.