Use the --backupID argument to assign an ID to a backup.
-
To back up the userRoot directory, run the following
command.
$ bin/backup --backupDirectory </path/to/backups/>userRoot \ --backendID userRoot --backupID weekly
The
--backupID
argument identifies the backup being created as "weekly".The backup file appears under backups/userRoot directory as userRoot-backup-weekly.