System Backup command fbackup application details

Source: Internet
Author: User
1) Common fbackup Method 1:
[1] accessing a single user:
# Init-S or shutdown 0
[2] Full System Backup
# Fbackup-F/dev/RMT/0 m-0iv/-I/tmp/sysbk. Index
-F: Device File Name (such as DDS tape driver)
-I: directory to be included-E: excluded directory-I: Backup Content Retrieval directory
-V: Detailed list of backup content-0: Zero-level backup
# Fbackup-F/dev/RMT/0 m-I/-E/home
Back up all directories except/home
[3] Note: This command backs up the current "mounted" file system, indicating that the backup level is 0 ~ 9 levels. If the current system uses zero-level backup, the system will only back up the changed files when the current five-level backup is used.
2) Common fbackup methods:
[1] # mkdir-P/tmp/fbackupfiles/Index
# Mkdir-P/tmp/fbackupfiles/log
# Touch/tmp/fbackupfiles/index/full. 'date' + % Y % m % d. % H: % m''
[3] accessing a single user
# Shutdown-Y 0
Full backup of the system
# Fbackup-0vi/-F/dev/RMT/0 m/
-I/tmp/fbackupfiles/index/full. 'date' + % Y % m % d. % H: % m ''/
2>/tmp/fbackupfiles/log/full. 'date' + % Y % m % d. % H: % m''
Note: The time required for system backup can be known through this method.
3) Common fbackup methods:
[1] enter a single user
# Shutdown-Y 0
Full backup of the system
# Fbackup-0uv/-F/dev/RMT/0 m/
-G/tmp/fbackupfiles/mygraph/
-I/tmp/fbackupfiles/index/full. 'date' + % Y % m % d. % H: % m ''/
2>/tmp/fbackupfiles/log/full. 'date' + % Y % m % d. % H: % m''
Note: The file mygraph contains the directory to be backed up. The format is as follows:
I/users/Data
I/home/APP
E/Oracle/SQL
Parameter U:
When the backup system is successful, the system updates/var/adm/fbackupfiles/dates.
4) fbackup:
Back up remote systems
[1] When logging on to the local system
# Remsh backup_sysname "fbackup-F dds_sysname:/dev/RMT/0 m-0vi /"
[2] When logging on to a remote system
# Fbackup-F backup_sysname:/dev/RMT/0 m-0vi/
5) Common fbackup Methods 5:
Compression mode backup (not recommended, affecting system performance)
[1] Compression backup
# Fbackup-0vi/Dir-F-| compress | dd OF =/dev/RMT/0 m obs = 10 K
"-": Pointing to standard output
[2] viewing backup content
# Dd If =/dev/RMT/0 m IBS = 10 k | uncompress | frecover-I--f-

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.