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
25 Copyright © Acronis, Inc., 2000-2011
1.1.4.4 Restore files
The following command will restore all files from E:\Backups\Myproject.tib to the original folder
and assign the files the original date and time:
trueimagecmd /filerestore /filename:E:\Backups\Myproject.tib
/original_date
Since the /overwrite option is not specified, the latest file modifications will be replaced with the
original ones.
1.1.4.5 Consolidate backups
The following command will display the numbered list of backups, contained in the archive
Kons.tib residing on the network share \\smbsrv\Archives\:
trueimagecmd /pit_info /filename:\\smbsrv\Archives\Kons.tib
C:\Program Files\Acronis\BackupAndRecovery>trueimagecmd /pit_info
/filename:\\srv\elenel\kons.tib
Pit number: 1
type: image; kind: base; date: 6/27/2009 11:39:10 AM
Pit number: 2
type: image; kind: incremental; date: 6/27/2009 11:43:13 AM
Pit number: 3
type: image; kind: incremental; date: 6/27/2009 11:44:04 AM
Pit number: 4
type: image; kind: incremental; date: 6/27/2009 11:48:22 AM
Pit number: 5
type: image; kind: incremental; date: 6/27/2009 11:50:32 AM
Operation has succeeded.
The following command will create on disk D: an archive consisting of three files Kons_new.tib,
(pit 2 of the archive \\smbsrv\Archives\Kons.tib, former \\smbsrv\Archives\Kons2.tib)
Kons_new2.tib (pit 4, former \\smbsrv\Archives\Kons4.tib) and Kons_new3.tib (pit 5, former
\\smbsrv\Archives\Kons5.tib):
trueimagecmd /consolidate /filename:\\smbsrv\Archives\Kons.tib
/target_filename:D:\Kons_new.tib /include_pits:2,4,5
1.1.4.6 Export backups
The following command will export 3 backups (pits) from the archive (Archive 1) located in
D:\Backups to the new archive (Archive 2) on the FTP server (Server22/Vault3):
trueimagecmd /export /vault:D:\Backups /arc:"Archive 1" /include_pits:2,4,5
/target_vault:ftp://Server22/Vault3 /target_arc:"Archive 2"
/ftp_user:"user" /ftp_password:"password" /progress:on
The following command will export 2 backups (pits) from the archive (Archive 1) located in
managed vault "Vault1" to the new archive (Archive 2) on the network share (Server15\Backups):