10.0
Table Of Contents
- Command-line mode and scripting in Windows
- Agent for Windows command-line utility
- Supported commands
- Common options
- Specific options
- create
- filebackup
- deploy
- deploy_mbr
- filerestore
- verify
- consolidate
- export
- convert
- list
- explore
- unplug
- asz_create
- asz_delete
- clone
- trueimagecmd.exe usage examples
- Image disks and partitions
- Restore disks and partitions
- Back up files
- Restore files
- Consolidate backups
- Export backups
- Convert an image to virtual disk
- List
- Check for assigned licenses
- Acronis Secure Zone: managing backups by archive numbers
- Acronis Secure Zone: managing backups by file names
- Acronis Secure Zone: deleting backups
- Clone
- Explore image
- Storage node command-line utility
- Scripting
- Agent for Windows command-line utility
- Console mode in Linux
- Backup, restore and other operations (trueimagecmd)
- Automatic image creation using cron service
- Restoring files with trueimagemnt
51 Copyright © Acronis, Inc., 2000-2011
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