diff options
author | Alasdair Kergon <agk@redhat.com> | 2002-11-18 14:04:08 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2002-11-18 14:04:08 +0000 |
commit | 5a52dca9c26ade9f233abcf5213300560d7a13a9 (patch) | |
tree | 9afbc621c07148c96a1ba1878a262dbd8aec613a /tools/archive.h | |
parent | d1d9800ef1c7ec38a5f72b8e2586f927ab68188c (diff) | |
download | lvm2-5a52dca9c26ade9f233abcf5213300560d7a13a9.tar.gz |
Some new features.
Diffstat (limited to 'tools/archive.h')
-rw-r--r-- | tools/archive.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/archive.h b/tools/archive.h index f0f34eb25..157ae805f 100644 --- a/tools/archive.h +++ b/tools/archive.h @@ -42,8 +42,13 @@ void backup_enable(int flag); int backup(struct volume_group *vg); int backup_remove(const char *vg_name); +struct volume_group *backup_read_vg(struct cmd_context *cmd, + const char *vg_name, const char *file); +int backup_restore_vg(struct cmd_context *cmd, struct volume_group *vg); int backup_restore_from_file(struct cmd_context *cmd, const char *vg_name, const char *file); int backup_restore(struct cmd_context *cmd, const char *vg_name); +int backup_to_file(const char *file, const char *desc, struct volume_group *vg); + #endif |