Backups

Listing backups

  • Listing backups of an archive stored in a local folder. The output will be displayed in the raw format. Therefore, you will be able to see and use complete GUIDs of backups.

    acrocmd list backups --loc=E:\backups\ --arc=my_archive --output=raw
  • Listing backups of an archive stored in a network folder and saving the complete output to a text file. This allows you to use GUIDs of backups in scripts.

    In the following example, the output in the raw format is redirected to a text file.

    acrocmd list backups --loc=\\bkpsrv\backups --credentials=netuser,pass --arc=my_archive --output=raw > c:\GUID.txt

    In the following example, the operation log, including the output data, is written to a text file in the structured xml format.

    acrocmd list backups --loc=\\bkpsrv\backups --credentials=netuser,pass --arc=my_archive --log=c:\log.txt

Listing backup content

  • Listing the content of a backup from an archive residing in Acronis Secure Zone.

    acrocmd list content --loc=atis:///asz --credentials=aszpass --arc=my_archive --backup=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

Validating a backup

  • Validating a backup.

    acrocmd validate backup --loc=E:\backups\ --arc=my_archive --backup=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

Exporting backups

  • Exporting the selected backups of an archive stored in a network folder to a local folder.

    acrocmd export backup --loc=\\bkpsrv1\backups --credentials=netuser1,pass1 --arc=my_archive --password=123 --backup=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX1,XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX2 --target=E:\copies --target_arc=my_archive_copy
  • Exporting the latest backup of an archive from one network folder to another one.

    acrocmd export backup --loc=\\bkpsrv1\backups --credentials=netuser1,pass1 --arc=my_archive --target=\\bkpsrv2\backups --credentials=netuser2,pass2 --progress

    The first credentials are required to access the source network folder \\bkpsrv1\backups. The second credentials enable writing to the target network folder \\bkpsrv2\backups.

Replicating a backup

  • Replicating the latest backup of an archive stored in a local folder to a network folder.

    acrocmd replicate backup --loc=C:\Backups --arc=my_archive --password=123 --target=\\bkpsrv\backups --credentials=netuser,pass
  • Replicating the selected backup of an archive from a network folder to Acronis Cloud Storage.

    acrocmd replicate backup --loc=\\bkpsrv\backups --credentials=netuser,pass1 --arc=my_archive --backup=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX --target=online:// --credentials=user@mail.com,pass2 --target_arc=my_archive_copy

Converting a backup to full

  • Converting the latest backup of the archive to a full backup. As a result of the operation, the incremental or differential backup is substituted with a full one (for the same point in time).

    acrocmd convert full --loc=C:\Backups --arc=my_archive --backup=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

Consolidating backups

  • Deleting all backups from an archive except for the specified ones.

    acrocmd consolidate backup --loc=C:\Backups --arc=my_archive --password=123 --backup=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX1,XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX2

Deleting backups

  • Deleting the specified backups from an archive.

    acrocmd delete backup --loc=C:\Backups --arc=my_archive --password=123 --backup=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX1,XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX2