2015-07-19 03:35:29 +02:00
|
|
|
from functools import partial
|
|
|
|
|
|
|
|
from atticmatic.backends import shared
|
|
|
|
|
|
|
|
# An atticmatic backend that supports Attic for actually handling backups.
|
|
|
|
|
|
|
|
COMMAND = 'attic'
|
2015-07-28 06:47:52 +02:00
|
|
|
CONFIG_FORMAT = shared.CONFIG_FORMAT
|
2015-07-19 03:35:29 +02:00
|
|
|
|
2015-09-03 07:48:07 +02:00
|
|
|
|
|
|
|
initialize = partial(shared.initialize, command=COMMAND)
|
2015-07-19 03:35:29 +02:00
|
|
|
create_archive = partial(shared.create_archive, command=COMMAND)
|
|
|
|
prune_archives = partial(shared.prune_archives, command=COMMAND)
|
|
|
|
check_archives = partial(shared.check_archives, command=COMMAND)
|