

Vivek Gite is the founder of nixCraft, the oldest running blog about Linux and open source. man pages – rmt, frecover, tar, fbackup, mt, tar.# frecover -f /dev/rmt/0m -N Further readings: Note that the listing of files produced with the -N and -v options requires the reading of the entire backup, but is therefore a more accurate reflection of the backup’s contents than the index stored at the beginning of the backup (which was created at the start of the backup session, and is not changed during the course of the backup). This option is useful for verifying backup media contents in terms of validity (block checksum errors are reported), and contents (a listing of files can be produced by using the -N and -v options together). The -N option (no recovery) prevent frecover from actually recovering any files onto disk, but read the backup as if it was, in fact, recovering the data from the backup, producing the same output that it would on a normal recovery. -i /path/to/file : Recover only this file or directory.-x : Extracted / recover selected files / dires only specified by -i option.# frecover -f /dev/rmt/0m -x -v -i /home/vivek For example, just restore /home/vivek directory, enter: To restore selected files or directories use -i /path option. To restore all files and directories from tape, enter: # frecover -f /dev/rmt/0m -x -N -v How do I backup data with frecover command? # fbackup -f /dev/rmt/0m -u -1 -g /var/adm/fbackupfiles/ -v How do I view contents of an fbackup tape? # fbackup -f /dev/rmt/0m -u -0 -g /var/adm/fbackupfiles/ -v All files in the graph that have been modified since this date are backed. If no such entry is found, the beginning of time is assumed.

When doing an incremental backup of a particular graph at a particular level, the database of past backups is searched to find the date of the most recent backup of the same graph that was done at a lower level. Higher levels are generally used to perform incremental backups. This single-digit number is the backup level. The -0-9 option used to specify backup level.
#Fbackup keep previous backups full
# fbackup -f /dev/rmt/0m -g /var/adm/fbackupfiles/ -v How do I perform full and incremental backups? For example, backup full file system but exclude /tmp, /cdrom and /nfs, enet: You can also create a text file that contains a list of all files and directories to be included or excluded from the backup. # fbackup -f /dev/rmt/0m -i / -e /tmp -e /cdrom -e /nfs -v Using the normal tape location to do a full backup but exclude /tmp and /cdrom /nfs directories, insert a new tape and enter: Using the normal tape location to do a full backup, insert a new tape and enter: Only use this if you are using -g /path/to/file option.
#Fbackup keep previous backups update
