menu 1
menu 2
menu 4
 
Click Menu Above
Our latest server offering, Freedom, will change (for the better) they way you and your customers feel about your web site!


 

 

 

getback - Restoring Files from Backup

As a Virtual Private Servers administrator, you have the luxury of restoring files directly from our disk and tape backups. We have created a file retrieval command called getback which will walk you through the file retrieval process step by step.

To use getback, connect to your Virtual Private Servers via Telnet or SSH and run the getback command like this.

% getback file-name(s)

Substitute a single file or list of files for file-name(s) above. getback will search the backup archives, find all matches, and display a date-sorted list of possible sources from which to restore the requested file(s). Both online (disk) and tape backup sources are listed.

  • Online Backups
    If an online (disk) source is selected, the file is restored immediately.

    In your home directory, a directory named RESTORE_DIR will be created, where the restored file will be stored in a sub-directory based on where the file was located. For example, if you run getback sendmail.cf from your ~/etc directory, the restored file will be located in ~/RESTORE_DIR/backup/home/USERNAME/etc/sendmail.cf

  • Tape Backups
    If a tape backup is selected, an e-mail message is automatically sent to our Support Staff requesting the file(s) be restored from tape. The file(s) is usually restored within 2 business days.

NOTE: A $100 Service Charge is applicable when files are restored from tape backup. Restoring from disk backup is done free of charge. Please try to use Disk Backup!


Examples
If you want to list all backups we have made of the file ~/www/htdocs/index.html, do the following.

% getback ~/www/htdocs/index.html
  size    modified        file

4) 10 Jan 1998, on tape (fee required)
30019   6 Jan 1998      usr/local/etc/httpd/htdocs/index.html

3) 16 Jan 1998, on tape (fee required)
30247   16 Jan 1998     usr/local/etc/httpd/htdocs/index.html

2) 16 Jan 1998, online
30247   16 Jan 1998     usr/local/etc/httpd/htdocs/index.html

1) 17 Jan 1998, online
30247   6 Jan 1998      usr/local/etc/httpd/htdocs/index.html

Enter location to get file(s) from, or 0 to quit:
    

You can restore more than one file at a time. The following command lists the backup copies of both the ~/usr/mail/rus and ~/usr/mail/dave files.

% getback ~/usr/mail/rus ~/usr/mail/dave
  size    modified        file

3) 16 Jan 1998, on tape (fee required)
        23028   15 Jan 1998     usr/mail/rus
        7251    16 Jan 1998     usr/mail/dave

 2) 16 Jan 1998, online
        23028   15 Jan 1998     usr/mail/rus
        7251    16 Jan 1998     usr/mail/dave

 1) 17 Jan 1998, online
        23028   15 Jan 1998     usr/mail/rus
        28444   17 Jan 1998     usr/mail/dave

Enter location to get file(s) from, or 0 to quit:
    

You can also restore backup copies of an entire directory.

% getback ~/www/htdocs/
  size    modified        file

3) 10 Jan 1998, on tape (fee required)
14711305 10 Jan 1998    usr/local/etc/httpd/htdocs

2) 16 Jan 1998, on tape (fee required)
14800035 16 Jan 1998    usr/local/etc/httpd/htdocs

1) 17 Jan 1998, online
15181492 17 Jan 1998    usr/local/etc/httpd/htdocs

Enter location to get file(s) from, or 0 to quit: