trueimagecmd usage examples

  • The following command will list available partitions:

    trueimagecmd –list

  • The following command will list the partitions (and their indices) saved in backup.tib:

    trueimagecmd –list –filename:backup.tib

  • The following command will check if there are licenses assigned to the local machine on the license server:

    trueimagecmd –ls_check

    The result is a list of used licenses. For example:

    Acronis Backup & Recovery 10 Advanced Server (trial) invalid
    Acronis Backup & Recovery 10 Advanced Server valid

  • The following command will create an image named backup.tib of partition 1-1:

    trueimagecmd –partition:1-1 –filename:backup.tib –create

  • 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

  • This will restore a partition from backup.tib:

    trueimagecmd –partition:1-1 –filename:backup.tib –restore

  • The following command will restore an MD device from backup.tib:

    trueimagecmd –partition:dyn1 –filename:backup.tib –restore

  • The following command will back up the folder /usr/kerberos/lib to the FTP server location:

    trueimagecmd –filebackup –include:’/usr/kerberos/lib’ \
    –filename:ftp://myftp.com/Backup/MyLib.tib –ftp_user:usr1 \
    –ftp_password:passw1

  • The following command will back up the folder /bin to the shared folder on host1 and create the operation log in the shared folder on host2:

    trueimagecmd –filebackup –include:’/bin’ \
    –filename:smb://username1:password1@host1/dir/MyBin.tib \
    –log:smb://username2:password2@host2/dir/Mylog1.log

  • The following command will list backups, contained in the archive /usr/backups/backups.tib, with their pit numbers. This command is designed to obtain pit numbers for consolidation:

    trueimagecmd –pit_info –filename:/usr/backups/backups.tib

    The list will look like the following:

    Pit number: 1
    type: file; kind: base; date: 10/18/07 2:45:02 PM
    Pit number: 2
    type: file; kind: incremental; date: 10/18/07 2:47:38 PM
    Pit number: 3
    type: file; kind: incremental; date: 10/18/07 2:49:58 PM

  • The following command will create in the folder /usr/backups an archive consisting of two files: kons.tib, (pit 2 of the archive /usr/backups/backups.tib) and kons2.tib (pit 3 of the archive /usr/backups/backups.tib). Therefore, the ‘kons’ archive is a copy of the ‘backups’ archive without pit 1. Use this command to get rid of backups that you no longer need, while keeping the archive:

    trueimagecmd –consolidate –filename:/usr/backups/backups.tib \
    –include_pits:2,3 –target_filename:/usr/backups/kons.tib

  • The following command will restore the MBR from partition image D1 to the hard disk 1:

    trueimagecmd –deploy_mbr –filename:/usr/backups/D1.tib –harddisk:1

  • The following command will export the “archive1″ archive from the root folder to the new archive named “archive2″ in the “exported” folder:

    trueimagecmd –export –vault:/ –arc:archive1 –target_vault:/exported \
    –target_arc:archive2

  • The following command will export the “archive1″ archive from managed vault “vault10″ to the network share:

    trueimagecmd –export –vault:bsp://StorageNode/vault10 –arc:archive1 \
    –net_src_user:username –net_src_password:password \
    –target_vault:smb://server/exported –target_arc:archive2 \
    –net_user:username –net_password:password

  • The following command will export the “archive1″ archive from the network share to the “exported” folder:

    trueimagecmd –export –vault:smb://server/backups/ –arc:archive1 \
    –target_vault:/exported –target_arc:archive2 –net_src_user:username \
    –net_src_password:password

trueimagecmd usage examples