Functions | |
def | usage |
prins how to use the application | |
def | create |
Create a Snapshot, adding the path to the config file if not set before. | |
def | listTimeOfSnapshots |
Prints the list of snapshots in time order. | |
def | listContent |
Lists the content of a path in a date of snapshot. | |
def | recoverPrevious |
(Still NOT implemented) Recover the previous snapshot of a path. | |
def | recoverSnapshot |
(Still NOT implemented) Recover a snapshot passing the number of snapshot done. | |
def | recoverSnapshotFromDate |
Recover a snapshot passing the date of snapshot. | |
def | erase |
(Still NOT implemented) Erase a snapshot. | |
def | main |
Main loop to catch the command line arguments and do the right things. |
def hdlorean.create | ( | arguments, | ||
storageMngr, | ||||
configFileMngr | ||||
) |
Create a Snapshot, adding the path to the config file if not set before.
arguments | Arguments passed through the command line | |
storageMngr | The StoreManager | |
configFielMngr | The ConfigFileManager |
def hdlorean.erase | ( | arguments, | ||
storageMngr, | ||||
Force | ||||
) |
(Still NOT implemented) Erase a snapshot.
arguments | The arguments passed through the command line. Should be the path, and the date? | |
storageMngr | The StorageManager | |
Force | Force the deletion. |
def hdlorean.listContent | ( | arguments, | ||
storageMngr | ||||
) |
Lists the content of a path in a date of snapshot.
arguments | The arguments passed through the command line, should be the path and the date. | |
storageMngr | The StoreManager |
def hdlorean.listTimeOfSnapshots | ( | storageMngr | ) |
Prints the list of snapshots in time order.
storageMngr | The StoreManager |
def hdlorean.main | ( | ) |
Main loop to catch the command line arguments and do the right things.
def hdlorean.recoverPrevious | ( | arguments, | ||
storageMngr, | ||||
Force | ||||
) |
(Still NOT implemented) Recover the previous snapshot of a path.
arguments | The arguments passed through the command line, should be the path to recover. | |
storageMngr | The StoreManager | |
Force | Force the overwriting |
def hdlorean.recoverSnapshot | ( | snapshotNumber, | ||
arguments, | ||||
storageMngr, | ||||
Force | ||||
) |
(Still NOT implemented) Recover a snapshot passing the number of snapshot done.
snapshotNumber | The number of snapshot counting from the first snapshot or downcounting from the last snapshot. | |
arguments | The arguments passed through the command line, should be the path. | |
storageMngr | The StoreManager | |
Force | Force the overwriting |
def hdlorean.recoverSnapshotFromDate | ( | date, | ||
arguments, | ||||
storageMngr, | ||||
Force | ||||
) |
Recover a snapshot passing the date of snapshot.
date | The date of snapshot | |
arguments | The arguments passed through the command line, should be the path. | |
storageMngr | The StoreManager | |
Force | Force the overwriting |
def hdlorean.usage | ( | ) |
prins how to use the application