Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mkorthof/acronis-ti-wrap
Wrapper script for Acronis TrueImage to (re)run backup jobs from CLI
https://github.com/mkorthof/acronis-ti-wrap
acronis backup batch-script cleanup cli tib tis trueimage windows windows-10 windows-11 windows10 windows11
Last synced: about 2 months ago
JSON representation
Wrapper script for Acronis TrueImage to (re)run backup jobs from CLI
- Host: GitHub
- URL: https://github.com/mkorthof/acronis-ti-wrap
- Owner: mkorthof
- License: unlicense
- Created: 2023-09-25T18:48:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-23T23:07:38.000Z (10 months ago)
- Last Synced: 2024-10-18T16:37:33.567Z (3 months ago)
- Topics: acronis, backup, batch-script, cleanup, cli, tib, tis, trueimage, windows, windows-10, windows-11, windows10, windows11
- Language: Batchfile
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Acronis True Image (Home) Wrapper
For use with Single version Backup Scheme
This script first checks if there's enough free disk space and deletes the oldest ".tib" file if needed. Then it runs TrueImage with the most recent settings (using ".tis" file).
*Where ".tib" is TrueImage Backup and ".tis" is TrueImage Script (XML)*
## Why❔
Reasoning behind this is that I backup (full) to offline external hd which is only powered on during backup. After backup finishes the PC hibernates using the post-script option in TrueImage with `shutdown /h`. I wanted something to trigger backup instead of TI GUI or it's scheduler, and made this wrapper script.
However, now TI kept filling up the drive, which is why there's an option to delete oldest image.
If you (want to) do the same, this scripter be usefull :)
## Configuration
First configure backup settings in TrueImage GUI which will automatically create a ".tis" file.
Specify target drive/dir and free space in MB as options on CLI:
```
acronis.bat -d F:\AcronisBackup -f 500000
```Or, edit `acronis.bat` to change required free space (default is 500GB)
`SET /A REQ_FREE=500000`
And set backup drive letter and directory (default is "F:\AcronisBackup")
`SET "BKP_DRIVE=F"`
`SET "BKP_DIR=AcronisBackup`
⚠ *Set minimal needed free space to at least the size of one '.tib' file*
## Usage
Run `acronis.bat` as Administrator without arguments to start backup. This will both remove oldest TIB and run TrueImage backup.
The **`-s`** option does not delete and run anything, it displays free space and .tib file size and TI details.
To only remove oldest TIB and not run backup, use **`-o`** option. Could be used as pre-script in TI (untested).
## Help
`C:\❯ acronis.bat -h`
``` batch
Acronis True Image WrapperUSAGE: acronis.bat [-h|-d|-f|-l|-n|-s]
-h help
-d backup drive and path
-f free space in MB on drive
-l view last log file
-n do not start 'after' user command
-o remove oldest TIB if needed and exit
-s show backup drive and disk spaceEXAMPLE: acronis.bat -d F:\AcronisBackup -f 500000
No arguments removes oldest tib and starts TI Backup (needs Admin).
See inside script for default config and details.
```## More info
-
-