NAUbackup / VmBackup

XenServer simple backup script
228 stars 61 forks source link

Directory creation bug #4

Closed stejk closed 10 years ago

stejk commented 10 years ago

When you connect CIFS share (which is not forbidden, right?), scripts fails on the format of the backup string (it uses colon, which is not allowed in NTFS names) and raises OSError exception. But the exception raises another exception, since OSError (variable error) has no method as_string().

NAUbackup commented 10 years ago

I added a new override variable near top of code called: BACKUP_DIR_PATTERN

So you should be able to override the backup_dir name to fit your environment.

Duane