Command Line excludes-On Windows-Not working
I am facing the issue similar to
http://forum.acronis.com/forum/19620
On Windows Platform
Using a command line arguments to exclude the folders and it's not working
C:\>"C:\Program Files\Acronis\CommandLineTool\acrocmd" backup file - --incl
ude=C:\test -exclude_mask=*.cpp --loc=C:\temp\ --arc=disk_archive
An error occurred while executing the command.
Error code: 0x1510008
Tag: 0x7A8E520180FDC06D
The optional value is null.
Error code: 0xAC0001
Tag: 0xA88E114E29A6ED1D
I appreciate any help on this issue
Thanks,
RRG

- Se connecter pour poster des commentaires

Thanks you so much!
Looks like ,I was on Build 17217.I will update and check it out.
Thanks again!!!!
- Se connecter pour poster des commentaires

I am running ABR11 for Linux Build 17318.
I am trying to take a full backup of all disks and exclude the /var/spool/asterisk/monitor/ folder and it is not working. The command no longer errors out now that I am on Build 17318. Now the command completes but it still backs up the /var/spool/asterisk/monitor/ directory.
Am I missing something? I have read the command line reference guide and I think I have entered the syntax correctly.
I am using the command below but it is not working.
acrocmd backup disk --loc=/mnt/backup --arc=CVGHQPBX001_A --plain_archive --compression=max --exclude_mask=/var/spool/asterisk/monitor/*.WAV
- Se connecter pour poster des commentaires

Syntax for exclude command ( http://www.acronis.com/support/documentation/ABR11/index.html#12066.html , it's the same for backup exclusions) allows either mask or base forlder, but not mask under the specified folder.
- Se connecter pour poster des commentaires

I actually entered my syntax incorrectly in my last post.
The command I had been using was:
acrocmd backup disk --loc=/mnt/backup --arc=CVGHQPBX001_A --plain_archive --compression=max --exclude_mask=/var/spool/asterisk/monitor/
It did not work so I used:
acrocmd backup disk --loc=/mnt/backup --arc=CVGHQPBX001_A --plain_archive --compression=max --exclude_mask=/var/spool/asterisk/monitor/*.WAV
This command actually worked, in that none of the WAV files were backed up.
The base folder I want to exclude is actually a mount point for a NAS. Perhaps I need to create a script that dismounts the mount point, takes the backup and then recreates the mount point?
- Se connecter pour poster des commentaires

Hi Chris,
your first version can't work because you have to use "--exclude_name" for files or folders.
--exclude_mask can only be used with masks like "*.WAV".
While restore only knows the --exclude parameter with both options, backup has to be fed with 4 different --exclude_ parameters.
See this one for more options please: http://www.acronis.com/support/documentation/ABR11/index.html#11797.html
Regards, Ralf
- Se connecter pour poster des commentaires

I am not sure what I am doing wrong. I have reviewed the Exclude options as well as the examples of how it is used and I beleive I am usign the correct command, but the folder is still not exluded. I used the Exclude_Names paramater last night and the folder is still not exluded.
I am backing up a disk, but I think I should still be able to exclude a folder.
acrocmd backup disk --loc=/mnt/backup --arc=CVGHQPBX001_A --plain_archive --compression=max --exclude_names=/var/spool/asterisk/monitor/
- Se connecter pour poster des commentaires