GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Getback: Restoring Files from Backup

bullet Introduction
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 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 the current directory (where you ran the getback command from), 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 locate in ~/etc/RESTORE_DIR/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 Service Charge is applicable when files are restored from tape backup. Restoring from disk backup is done free of charge.

  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

10) 26 Nov 1997, on tape (fee required)
46964   24 Nov 1997     usr/local/etc/httpd/htdocs/index.html

9) 2 Dec 1997, on tape (fee required)
46964   24 Nov 1997     usr/local/etc/httpd/htdocs/index.html

8) 7 Dec 1997, on tape (fee required)
46957   6 Dec 1997      usr/local/etc/httpd/htdocs/index.html

7) 13 Dec 1997, on tape (fee required)
51730   12 Dec 1997     usr/local/etc/httpd/htdocs/index.html

6) 20 Dec 1997, on tape (fee required)
50766   19 Dec 1997     usr/local/etc/httpd/htdocs/index.html

5) 31 Dec 1997, on tape (fee required)
51003   19 Dec 1997     usr/local/etc/httpd/htdocs/index.html

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

10) 26 Nov 1997, on tape (fee required)
        59020   25 Nov 1997     usr/mail/rus
        15803   26 Nov 1997     usr/mail/dave

 9) 2 Dec 1997, on tape (fee required)
        81871   1 Dec 1997      usr/mail/rus
        6273    2 Dec 1997      usr/mail/dave

 8) 7 Dec 1997, on tape (fee required)
        14870   6 Dec 1997      usr/mail/rus
        153284  7 Dec 1997      usr/mail/dave

 7) 13 Dec 1997, on tape (fee required)
        76540   12 Dec 1997     usr/mail/rus
        3527    13 Dec 1997     usr/mail/dave

 6) 20 Dec 1997, on tape (fee required)
        118765  19 Dec 1997     usr/mail/rus
        9390    20 Dec 1997     usr/mail/dave

 5) 31 Dec 1997, on tape (fee required)
        41787   30 Dec 1997     usr/mail/rus
        0       31 Dec 1997     usr/mail/dave

 4) 10 Jan 1998, on tape (fee required)
        0       9 Jan 1998      usr/mail/rus
        0       10 Jan 1998     usr/mail/dave

 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 10) 26 Nov 1997, on tape (fee required) 9875108 26 Nov 1997 usr/local/etc/httpd/htdocs 9) 2 Dec 1997, on tape (fee required) 9958610 2 Dec 1997 usr/local/etc/httpd/htdocs 8) 7 Dec 1997, on tape (fee required) 12694619 7 Dec 1997 usr/local/etc/httpd/htdocs 7) 13 Dec 1997, on tape (fee required) 15148343 13 Dec 1997 usr/local/etc/httpd/htdocs 6) 20 Dec 1997, on tape (fee required) 16437181 20 Dec 1997 usr/local/etc/httpd/htdocs 5) 31 Dec 1997, on tape (fee required) 17627644 31 Dec 1997 usr/local/etc/httpd/htdocs 4) 10 Jan 1998, on tape (fee required) 14711305 10 Jan 1998 usr/local/etc/httpd/htdocs 3) 16 Jan 1998, on tape (fee required) 14800035 16 Jan 1998 usr/local/etc/httpd/htdocs 2) 16 Jan 1998, online 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:


Toll Free 1-866-GSP-4400 • 1-301-464-9363 • service@gsp.com
Copyright © 1994-2016 GSP Services, Inc.