This commit is contained in:
2023-11-12 17:04:55 +01:00
parent d0fe837145
commit 63a1e4d447

View File

@@ -30,7 +30,7 @@ def arguments_parser():
'and can also contains the BackandUp own configuration.') 'and can also contains the BackandUp own configuration.')
parser.add_argument('--composefile', action='store', default='./docker-compose.yml', parser.add_argument('--composefile', action='store', default='./docker-compose.yml',
help='compose file to parse. By default it looks for a docker-compose.yml in its folder.') help='compose file to parse. By default it looks for a docker-compose.yml in its folder.')
parser.add_argument('--sshfolder', action='store', default=f'{os.path.expanduser( '~' )}/.ssh', parser.add_argument('--sshfolder', action='store', default=f"{os.path.expanduser('~')}/.ssh",
help='ssh folder for sftp connection. By default it uses ~/.ssh.') help='ssh folder for sftp connection. By default it uses ~/.ssh.')
parser.add_argument('-x', '--bindexclude', action='store', default=None, parser.add_argument('-x', '--bindexclude', action='store', default=None,
help='Patterns of volume or bind to exclude from the backup.') help='Patterns of volume or bind to exclude from the backup.')