Release 2008.2
Restoring Your Data 3
backup.scheduled.csd6_2.23_04_2008.db.1209006090148.tgz
backup.test.csd6_2.10_03_2008.config.1205160090172.tgz
desc/
Step 5 Extract the files you wish to restore.
Note: Make sure the extraction command includes the P option, which ensures the
files are extracted to their original directory.
tar -zxPf /store/backup/backup.<name>.<hostname>._<host
ID>.<target date>.<backup type>.<timestamp>.tgz
For example:
tar -zxPf
backup.scheduled.csd9_2.31_03_2008.data.1207033304942.tgz
Daily backups capture all data from the previous day, on the host executing the
backup. The above example reflects a single, All-in-One Console and includes
reports, PDF files, event, and flow data. If you wish to restore data on an Event
Processor or Flow Processor that only contains event or flow data, only that data is
restored to that host.
If you only wish to restore specific event, flow, or reporting data, you must also
include an extraction path filter to limit the restored files using the following
commands:
Event Data:
tar -zxPf backup.<name>.<hostname>._<host ID>.<target
date>.<backup type>.<timestamp>.tgz /store/ariel/events
Flow Data: tar -zxPf backup.<name>.<hostname>._<host ID>.<target
date>.<backup type>.<timestamp>.tgz /store/ariel/flows
Reporting Data: tar -zxPf backup.<name>.<hostname>._<host
ID>.<target date>.<backup type>.<timestamp>.tgz
/store/reporting
Note: If you wish to maintain the restored data, you may increase your data
retention settings to prevent the nightly disk maintenance routines from deleting
your restored data. To ensure your restored data is not deleted, review Step 8.
Step 6 Verify the files are restored by investigating one of the restored directories:
cd /store/ariel/flows/payloads/<yyyy/mm/dd>
For example:
cd /store/ariel/flows/payloads/2008/3/31
ls
0 1 10 11 12 13 14 15 16 17 18 19 2 20 21 22 23
3 4 5 6 7 8 9
You can view the restored directories that are created for each hour of the day. If
directories are missing, this may indicate that no data was captured for that time
period. For example, the list of files in one of the restored directories may include:
ls 0|more