User Tools

Site Tools


devices-and-file-system

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
devices-and-file-system [2019/04/12 18:26]
Miroslav Bernát
devices-and-file-system [2019/04/12 18:27] (current)
Miroslav Bernát
Line 60: Line 60:
 | **quotaon** / **quotaoff** <FS> | turns quotas on/off on a specified FS, **-a** on all mounted FS, **-u** for user quotas, **-g** for group quotas | | **quotaon** / **quotaoff** <FS> | turns quotas on/off on a specified FS, **-a** on all mounted FS, **-u** for user quotas, **-g** for group quotas |
 | **dump** <​target>​ <​source>​ | backups ext2, ext3, ext4 file system (the partition must be unmounted, if it is mounted directly to „/“, the system must be running on runlevel 1, which stops all the processes using this partition, and the FS should be mounted in „read-only“ mode), **-**<​n>​ incremental backup level (values of 0–9, 0 = full backup), **-u** updates ///​etc/​dumpdates//​ (overview of performed backups), **-a** automatic size (data are being written up to an end of the tape), **-f** <​target>​ a target file/​device,​ **-z** gzip compression,​ **-j** bzip2 compression,​ **-L** <​label>​ labels an archive, **-M** „multi-volume“ backup (for archives bigger than 2 GB), **-S** determines the amount of space that is needed to perform the dump without actually doing it, **-W** prints the FS, which needs to be dumped (data from ///​etc/​dumpdates//​ and ///​etc/​fstab//​)\\ ''#​ dump -0uf /​tmp/​home.bckp /​home''​\\ ''#​ dump -0auf /dev/st0 -L Full_bckp_11-07-08 /''​\\ ''#​ dump -0uj 9 /home | dd bs=1024 of=/​dev/​rmt0''​\\ (received variable blocks of data are converted to blocks of the same size and saved on a tape) | | **dump** <​target>​ <​source>​ | backups ext2, ext3, ext4 file system (the partition must be unmounted, if it is mounted directly to „/“, the system must be running on runlevel 1, which stops all the processes using this partition, and the FS should be mounted in „read-only“ mode), **-**<​n>​ incremental backup level (values of 0–9, 0 = full backup), **-u** updates ///​etc/​dumpdates//​ (overview of performed backups), **-a** automatic size (data are being written up to an end of the tape), **-f** <​target>​ a target file/​device,​ **-z** gzip compression,​ **-j** bzip2 compression,​ **-L** <​label>​ labels an archive, **-M** „multi-volume“ backup (for archives bigger than 2 GB), **-S** determines the amount of space that is needed to perform the dump without actually doing it, **-W** prints the FS, which needs to be dumped (data from ///​etc/​dumpdates//​ and ///​etc/​fstab//​)\\ ''#​ dump -0uf /​tmp/​home.bckp /​home''​\\ ''#​ dump -0auf /dev/st0 -L Full_bckp_11-07-08 /''​\\ ''#​ dump -0uj 9 /home | dd bs=1024 of=/​dev/​rmt0''​\\ (received variable blocks of data are converted to blocks of the same size and saved on a tape) |
-| **restore** <​source>​ | restores files or file systems from backups made with „dump“ program into the working directory, **-f** <​source>​ source file/​device,​ **-r** newly formated ​FS, **-x** existing FS, **-s** <n> number of a backup (file), **-i** interactive mode, **-t** prints the contents of an archive, **-v** detailed output\\ ''#​ restore -rvf /​dev/​rmt0''​\\ (full FS recovery)\\ ''#​ restore -is 3 -f /​dev/​rmt0''​\\ (interactive recovery, single files can also be recovered) |+| **restore** <​source>​ | restores files or file systems from backups made with „dump“ program into the working directory, **-f** <​source>​ source file/​device,​ **-r** newly formatted ​FS, **-x** existing FS, **-s** <n> number of a backup (file), **-i** interactive mode, **-t** prints the contents of an archive, **-v** detailed output\\ ''#​ restore -rvf /​dev/​rmt0''​\\ (full FS recovery)\\ ''#​ restore -is 3 -f /​dev/​rmt0''​\\ (interactive recovery, single files can also be recovered) |
 | **photorec** | recovers lost data from a HDD or portable media of various types of FS; it works interactively and automatically detects the FS, a particular data format can also be recovered | | **photorec** | recovers lost data from a HDD or portable media of various types of FS; it works interactively and automatically detects the FS, a particular data format can also be recovered |
 \\ \\
Last modified: 2019/04/12 18:27 by Miroslav Bernát

visits: