ACRONIS BACKUP AND RECOVERY 10 SERVER FOR LINUX - COMMAND LINE REFERENCE UPDATE 3 Cli Reference Manual

Hide thumbs Also See for BACKUP AND RECOVERY 10 SERVER FOR LINUX - COMMAND LINE REFERENCE UPDATE 3:

Advertisement

Acronis® Backup & Recovery ™ 10
Server for Linux
Update 3
Command Line Reference

Advertisement

Table of Contents
loading

Summary of Contents for ACRONIS BACKUP AND RECOVERY 10 SERVER FOR LINUX - COMMAND LINE REFERENCE UPDATE 3

  • Page 1 Acronis® Backup & Recovery ™ 10 Server for Linux Update 3 Command Line Reference...
  • Page 2: Table Of Contents

    Table of contents Console mode in Linux........................ 3 Backup, restore and other operations (trueimagecmd) ............3 1.1.1 Supported commands ..........................3 1.1.2 Common options ............................6 1.1.3 Specific options ............................10 1.1.4 trueimagecmd usage examples ......................17 Automatic image creation using cron service ..............18 Restoring files with trueimagemnt ..................
  • Page 3: Console Mode In Linux

    1 Console mode in Linux Console is a natural part of Linux OS. Acronis Backup & Recovery 10 supports it through the trueimagecmd command line tool. It provides a way to initiate data backup and recovery operations. trueimagecmd also enables you to automate backup with the ‘cron’ service.
  • Page 4 --original_date:[on|off] --password:[password] --include:[names] --asz:[number of archive] --index:N --log:[filename] --silent deploy_mbr --vault:[path] --harddisk:[disk number] --arc:[archive name] --target_harddisk:[disk number] Restores the MBR from a --arc_id:[archive id] disk or partition image --filename:[filename] --password:[password] --asz:[number of archive] --index:N --oss_numbers Copyright © Acronis, Inc., 2000-2010...
  • Page 5 When the arc, or the arc_id option is added, it lists all backups contained in the archive. asz_create --password:[password] --harddisk:X --oss_numbers --partition:[partition number] Creates the Acronis Secure --log:[filename] --size:[ASZ size in sectors] Zone on the selected drive --silent Copyright © Acronis, Inc., 2000-2010...
  • Page 6: Common Options

    Access to archives vault:[path] Specifies a path to the location that contains the archive. Used in combination with the arc, or the arc_id option. The following locations are supported:  Local folders, e.g.: --vault:/folder, or --vault:"/Folder 1" Copyright © Acronis, Inc., 2000-2010...
  • Page 7 For example: trueimagecmd --list --filename:nfs://dhcp6-223.acronis.com/sdb3/nfs_root:/mike/md1.tib shows contents of /mike/md1.tib archive. /mike/md1.tib is located on dhcp6-223.acronis.com node in /sdb3/nfs_root directory exported by NFS. If the vault option is specified the filename option is ignored. Copyright © Acronis, Inc., 2000-2010...
  • Page 8: Backup Options

    Separate multiple values with a comma, for example: --include_pits:2,4,5 1.1.2.2 Backup options incremental Set the backup type to incremental. If not specified or there is no basic full backup, a full backup will be created. Copyright © Acronis, Inc., 2000-2010...
  • Page 9: General Options

    1-3, 1-4 and logical partitions numbers start with 1-5. For example, if the disk has one primary and two logical partitions, their numbers can appear as follows: --partition:1-1,1-2,1-3 --oss_numbers --partition:1-1,1-5,1-6 log:[file name] Create a log file of the current operation with the specified file name. silent Suppresses the command's output. Copyright © Acronis, Inc., 2000-2010...
  • Page 10: Specific Options

    For example, to exclude all files with extension .sh, add *.sh. My???.sh will exclude all .sh files with names consisting of five symbols and starting with "my". exclude_hidden Excludes all hidden files from the backup. Copyright © Acronis, Inc., 2000-2010...
  • Page 11 Enables to define the command to be automatically executed before data capture. after:[post-data capture command] Enables to define the command to be automatically executed after data capture. progress:[on | off] Shows/hides the progress information (percent completed). It is shown by default. Copyright © Acronis, Inc., 2000-2010...
  • Page 12 If the target partition is primary, and there are other primary partitions on the disk, one of them will be set active, while the restored partition becomes primary. If no other primary partitions remain on the disk, the restored partition is set active. Copyright © Acronis, Inc., 2000-2010...
  • Page 13 Specifies whether to restore files’ original date and time from the archive or whether to assign the current date and time to the restored files. If not specified, the current date is assigned. include:[names] Specifies the files and folders to restore from the file backup (comma separated). For example: Copyright © Acronis, Inc., 2000-2010...
  • Page 14 (pits) in the copy, numbers will be added to their names. 1.1.3.8 export target_vault:[target path] Specifies a path to the target location to export the archive to. The following target locations are supported:  Local folders and unmanaged vaults, e.g.: --vault:/folder, or --vault:"/Folder 1" Copyright © Acronis, Inc., 2000-2010...
  • Page 15 FTP and SFTP, e.g.: --vault:ftp://ServerA/Folder1  CD, DVD – with the path specified as a local path, e.g.: --vault:/mnt/cdrom  Acronis Secure Zone, e.g.: --vault:atis:///asz  Tapes, e.g.: --vault:atis:///tape?0  Unmanaged vaults are specified by their path. For example, if a vault is located in a folder, specify the path to that folder.
  • Page 16 Specifies partitions to which free space will be added after the Acronis Secure Zone is deleted. If you specify several partitions, the space will be distributed proportionally based on each partition’s size. Copyright © Acronis, Inc., 2000-2010...
  • Page 17: Trueimagecmd Usage Examples

    The following command will create an incremental image of the above partition: trueimagecmd --partition:1-1 --filename:backup.tib --create --incremental  The following command will create an image of partition 1-1 in the Acronis Secure Zone: trueimagecmd --partition:1-1 --asz --create  The following command will create an image of an MD device (which may reside on two or more partitions): trueimagecmd --partition:dyn1 --filename:backup.tib --create...
  • Page 18: Automatic Image Creation Using Cron Service

    UNIX users. As an example, let’s consider a situation where you (the system administrator) need to back up one or more disk partitions regularly. Use the --list command to obtain the necessary partition number: Copyright © Acronis, Inc., 2000-2010...
  • Page 19: Restoring Files With Trueimagemnt

    Backup & Recovery 10 archives as if they were kernel space block devices. The program implements the user level part of the user mode block device service of Acronis Backup & Recovery 10. The majority of the functionality is handled by the snumbd kernel module.
  • Page 20 A test command. Mounts a file, specified in the -f|--filename option, containing a valid Linux filesystem, as if it were an Acronis Backup & Recovery 10 archive. The command may be used, for example, to estimate an image compression level, by comparing the time, necessary for copying a file from the image, with the time for copying the mounted (non-compressed) file.
  • Page 21: Trueimagemnt Usage Examples

    The following command will mount the archive backup.tib of the partition with index 2, to /mnt/backup: trueimagemnt --mount /mnt/backup --filename backup.tib --index 2  The following command will unmount a partition mounted at /mnt/backup: trueimagemnt --umount /mnt/backup Copyright © Acronis, Inc., 2000-2010...

This manual is also suitable for:

Backup & recovery 10 server for linux

Table of Contents