]> git.proxmox.com Git - proxmox-backup.git/log
proxmox-backup.git
5 years agosrc/bin/proxmox-backup-client.rs: implement chunk-size completion
Dietmar Maurer [Wed, 13 Mar 2019 11:26:01 +0000 (12:26 +0100)]
src/bin/proxmox-backup-client.rs: implement chunk-size completion

5 years agosrc/bin/proxmox-backup-client.rs: cleanup
Dietmar Maurer [Wed, 13 Mar 2019 11:17:39 +0000 (12:17 +0100)]
src/bin/proxmox-backup-client.rs: cleanup

5 years agosrc/bin/proxmox-backup-client.rs: implement completion for backup groups
Dietmar Maurer [Wed, 13 Mar 2019 10:56:37 +0000 (11:56 +0100)]
src/bin/proxmox-backup-client.rs: implement completion for backup groups

5 years agosrc/client/backup_repo.rs: implement FromStr trait
Dietmar Maurer [Wed, 13 Mar 2019 09:09:39 +0000 (10:09 +0100)]
src/client/backup_repo.rs: implement FromStr trait

5 years agosrc/client/backup_repo.rs: implement Display trait
Dietmar Maurer [Wed, 13 Mar 2019 08:57:36 +0000 (09:57 +0100)]
src/client/backup_repo.rs: implement Display trait

5 years agosrc/bin/proxmox-backup-client.rs: implement repository completions
Dietmar Maurer [Wed, 13 Mar 2019 08:47:12 +0000 (09:47 +0100)]
src/bin/proxmox-backup-client.rs: implement repository completions

5 years agosrc/bin/proxmox-backup-client.rs: fix BACKUPSPEC_REGEX - correctly specify non-captur...
Dietmar Maurer [Wed, 13 Mar 2019 06:23:59 +0000 (07:23 +0100)]
src/bin/proxmox-backup-client.rs: fix BACKUPSPEC_REGEX - correctly specify non-capture group

And improve bash completion.

5 years agosrc/cli/command.rs: fix completion - never display argument parameters as option
Dietmar Maurer [Tue, 12 Mar 2019 13:53:41 +0000 (14:53 +0100)]
src/cli/command.rs: fix completion - never display argument parameters as option

5 years agosrc/cli/command.rs: pass parsed parameters to completion function
Dietmar Maurer [Tue, 12 Mar 2019 13:39:51 +0000 (14:39 +0100)]
src/cli/command.rs: pass parsed parameters to completion function

5 years agosrc/cli/getopts.rs: factor out reusable code
Dietmar Maurer [Tue, 12 Mar 2019 13:38:47 +0000 (14:38 +0100)]
src/cli/getopts.rs: factor out reusable code

5 years agosrc/cli/command.rs: use a HashMap to store fixed param as key/value pairs
Dietmar Maurer [Tue, 12 Mar 2019 11:54:16 +0000 (12:54 +0100)]
src/cli/command.rs: use a HashMap to store fixed param as key/value pairs

5 years agosrc/cli/command.rs: improve completions
Dietmar Maurer [Tue, 12 Mar 2019 11:07:45 +0000 (12:07 +0100)]
src/cli/command.rs: improve completions

5 years agosignalfd cleanup
Wolfgang Bumiller [Tue, 12 Mar 2019 08:57:31 +0000 (09:57 +0100)]
signalfd cleanup

- add comment about the boxed file descriptor (and others)
- reexport SigSet and Signal for convenience
- remove Result wrapper (only used once)
- enforce drop order of the PollEvented2 struct with respect
  to the boxed fd

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoadd missing mio crate for signalfd
Wolfgang Bumiller [Tue, 12 Mar 2019 07:05:55 +0000 (08:05 +0100)]
add missing mio crate for signalfd

This is what actually provides EventedFd used by tokio.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agotools: add async signalfd handler
Wolfgang Bumiller [Mon, 11 Mar 2019 08:35:47 +0000 (09:35 +0100)]
tools: add async signalfd handler

This provides a Stream<Item = siginfo> via nix' signalfd,
by wrapping it in tokio's PollEvented2 struct to allow
polling via tokio's event loop.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agosrc/catar/decoder.rs: simplify public restore API
Dietmar Maurer [Mon, 11 Mar 2019 13:31:01 +0000 (14:31 +0100)]
src/catar/decoder.rs: simplify public restore API

5 years agosrc/bin/proxmox-backup-client.rs: strip .didx file extensions
Dietmar Maurer [Mon, 11 Mar 2019 09:51:48 +0000 (10:51 +0100)]
src/bin/proxmox-backup-client.rs: strip .didx file extensions

5 years agosrc/bin/proxmox-backup-client.rs: include file extension in backupspec
Dietmar Maurer [Mon, 11 Mar 2019 09:23:16 +0000 (10:23 +0100)]
src/bin/proxmox-backup-client.rs: include file extension in backupspec

5 years agosrc/catar/decoder.rs: cleanup style
Dietmar Maurer [Mon, 11 Mar 2019 07:14:28 +0000 (08:14 +0100)]
src/catar/decoder.rs: cleanup style

5 years agosrc/catar/decoder.rs: dir_mkdirat - add create_new flag
Dietmar Maurer [Mon, 11 Mar 2019 06:27:45 +0000 (07:27 +0100)]
src/catar/decoder.rs: dir_mkdirat - add create_new flag

5 years agosrc/catar/decoder.rs: implement real sequential decoder (no Seek)
Dietmar Maurer [Fri, 8 Mar 2019 15:55:54 +0000 (16:55 +0100)]
src/catar/decoder.rs: implement real sequential decoder (no Seek)

I copied the old code to src/catar/inspector.rs. Will modify
that later to implement a random access decoder ...

5 years agosrc/bin/proxmox-backup-client.rs: impl option all-file-systems
Dietmar Maurer [Fri, 8 Mar 2019 08:33:53 +0000 (09:33 +0100)]
src/bin/proxmox-backup-client.rs: impl option all-file-systems

5 years agomove chunker into proxmox_protocol
Wolfgang Bumiller [Fri, 8 Mar 2019 08:29:27 +0000 (09:29 +0100)]
move chunker into proxmox_protocol

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agosrc/bin/catar.rs: implement all-file-systems option
Dietmar Maurer [Fri, 8 Mar 2019 08:28:12 +0000 (09:28 +0100)]
src/bin/catar.rs: implement all-file-systems option

5 years agosrc/catar/encoder.rs: log skipped mount points
Dietmar Maurer [Fri, 8 Mar 2019 08:25:00 +0000 (09:25 +0100)]
src/catar/encoder.rs: log skipped mount points

5 years agosrc/catar/encoder.rs: remove debug output
Dietmar Maurer [Fri, 8 Mar 2019 07:23:07 +0000 (08:23 +0100)]
src/catar/encoder.rs: remove debug output

5 years agosrc/bin/catar.rs: implement verbose flags
Dietmar Maurer [Fri, 8 Mar 2019 07:20:56 +0000 (08:20 +0100)]
src/bin/catar.rs: implement verbose flags

5 years agosrc/catar/encoder.rs: use simply flag "all_file_systems"
Dietmar Maurer [Fri, 8 Mar 2019 07:14:26 +0000 (08:14 +0100)]
src/catar/encoder.rs: use simply flag "all_file_systems"

5 years agoprotocol: use size_t for c api instead of ulong
Wolfgang Bumiller [Thu, 7 Mar 2019 13:36:57 +0000 (14:36 +0100)]
protocol: use size_t for c api instead of ulong

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoprotocol: expose chunker and digest function
Wolfgang Bumiller [Thu, 7 Mar 2019 13:32:12 +0000 (14:32 +0100)]
protocol: expose chunker and digest function

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoprotocol: allow explicitly polling for a single packet
Wolfgang Bumiller [Thu, 7 Mar 2019 12:50:41 +0000 (13:50 +0100)]
protocol: allow explicitly polling for a single packet

When using *blocking* I/O wait_for_* functions need to be
able to not read past their awaited packet.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoprotocol: also build a cdylib
Wolfgang Bumiller [Thu, 7 Mar 2019 12:50:27 +0000 (13:50 +0100)]
protocol: also build a cdylib

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoprotocol: remove redundant WouldBlock handling
Wolfgang Bumiller [Thu, 7 Mar 2019 12:48:58 +0000 (13:48 +0100)]
protocol: remove redundant WouldBlock handling

The packet reading code already translates this to a bool.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoMakefile: copy zstd-sys into build
Dietmar Maurer [Thu, 7 Mar 2019 11:57:04 +0000 (12:57 +0100)]
Makefile: copy zstd-sys into build

5 years agodepend on zstd 1.3.8
Dietmar Maurer [Thu, 7 Mar 2019 11:53:19 +0000 (12:53 +0100)]
depend on zstd 1.3.8

On debiln  stretch, you need to install that from debian backuports ...

5 years agocargo: patch zstd-sys to use system library
Wolfgang Bumiller [Thu, 7 Mar 2019 10:50:32 +0000 (11:50 +0100)]
cargo: patch zstd-sys to use system library

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoRevert "TEMP: dynamically link against liblz4 for testing"
Wolfgang Bumiller [Thu, 7 Mar 2019 10:44:48 +0000 (11:44 +0100)]
Revert "TEMP: dynamically link against liblz4 for testing"

This reverts commit dc04ce7fe5f61095b6c67addcdd35524baaf274b.

5 years agosrc/cli/command.rs: print_bash_completion - avoid crash
Dietmar Maurer [Thu, 7 Mar 2019 11:14:26 +0000 (12:14 +0100)]
src/cli/command.rs: print_bash_completion - avoid crash

5 years agosrc/backup/chunk_store.rs: use zstd compression insteadf of lz4
Dietmar Maurer [Thu, 7 Mar 2019 10:42:59 +0000 (11:42 +0100)]
src/backup/chunk_store.rs: use zstd compression insteadf of lz4

Provides better compressionm rate, and is still fast.

5 years agosrc/backup/chunk_store.rs: read_chunk - clear buffer before calling read_to_end
Dietmar Maurer [Thu, 7 Mar 2019 09:40:01 +0000 (10:40 +0100)]
src/backup/chunk_store.rs: read_chunk - clear buffer before calling read_to_end

5 years agoTEMP: dynamically link against liblz4 for testing
Wolfgang Bumiller [Thu, 7 Mar 2019 07:42:50 +0000 (08:42 +0100)]
TEMP: dynamically link against liblz4 for testing

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agosrc/bin/proxmox-backup-client.rs: correctly strip file extension
Dietmar Maurer [Wed, 6 Mar 2019 10:18:46 +0000 (11:18 +0100)]
src/bin/proxmox-backup-client.rs: correctly strip file extension

5 years agosrc/bin/proxmox-backup-client.rs: impl restore
Dietmar Maurer [Wed, 6 Mar 2019 09:50:46 +0000 (10:50 +0100)]
src/bin/proxmox-backup-client.rs: impl restore

5 years agosrc/api2/admin/datastore.rs: impl list_snapshot_files
Dietmar Maurer [Wed, 6 Mar 2019 09:49:59 +0000 (10:49 +0100)]
src/api2/admin/datastore.rs: impl list_snapshot_files

5 years agosrc/backup/backup_info.rs: new helper to list files
Dietmar Maurer [Wed, 6 Mar 2019 09:49:01 +0000 (10:49 +0100)]
src/backup/backup_info.rs: new helper to list files

5 years agosrc/api2/admin/datastore/catar.rs: use archive_name directly
Dietmar Maurer [Wed, 6 Mar 2019 09:47:09 +0000 (10:47 +0100)]
src/api2/admin/datastore/catar.rs: use archive_name directly

5 years agosrc/client/http_client.rs: impl download
Dietmar Maurer [Wed, 6 Mar 2019 09:45:38 +0000 (10:45 +0100)]
src/client/http_client.rs: impl download

5 years agobuildsys: copy proxmox-protocol to build/
Wolfgang Bumiller [Wed, 6 Mar 2019 09:39:00 +0000 (09:39 +0000)]
buildsys: copy proxmox-protocol to build/

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoadd protocol test client
Wolfgang Bumiller [Wed, 6 Mar 2019 09:23:56 +0000 (10:23 +0100)]
add protocol test client

This uses futures for everything which is mostly useful as a
test to see if the protocol crate's non-blocking I/O support
can handle it...

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoapi2/admin/datastore: add a backup protocol test api path
Wolfgang Bumiller [Wed, 6 Mar 2019 09:21:22 +0000 (10:21 +0100)]
api2/admin/datastore: add a backup protocol test api path

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoimport proxmox-protocol crate
Wolfgang Bumiller [Wed, 6 Mar 2019 09:16:35 +0000 (10:16 +0100)]
import proxmox-protocol crate

This is supposed to contain only the parts necessary to
communicate with the server via the proxmox backup protocol.
(Including the chunker, which is currently `include!()`d
from the main crate.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agofixed_index: split add_chunk/add_digest
Wolfgang Bumiller [Wed, 6 Mar 2019 09:20:13 +0000 (10:20 +0100)]
fixed_index: split add_chunk/add_digest

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agofixed_index: impl Send for FixedIndexWriter
Wolfgang Bumiller [Wed, 6 Mar 2019 09:20:04 +0000 (10:20 +0100)]
fixed_index: impl Send for FixedIndexWriter

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agobackup/datastore: expose insert_chunk method
Wolfgang Bumiller [Wed, 6 Mar 2019 09:19:07 +0000 (10:19 +0100)]
backup/datastore: expose insert_chunk method

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agorouter: add upgrade method
Wolfgang Bumiller [Wed, 6 Mar 2019 09:18:06 +0000 (10:18 +0100)]
router: add upgrade method

This is just an Async GET method, but semantically
different, so it gets its own router method.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agosrc/bin/proxmox-backup-client.rs: sort list results
Dietmar Maurer [Wed, 6 Mar 2019 06:20:51 +0000 (07:20 +0100)]
src/bin/proxmox-backup-client.rs: sort list results

5 years agosrc/bin/proxmox-backup-client.rs: allow to set backup-id
Dietmar Maurer [Wed, 6 Mar 2019 06:02:52 +0000 (07:02 +0100)]
src/bin/proxmox-backup-client.rs: allow to set backup-id

5 years agosrc/client/http_client.rs: remove debug statement
Dietmar Maurer [Wed, 6 Mar 2019 05:45:51 +0000 (06:45 +0100)]
src/client/http_client.rs: remove debug statement

5 years agodocs: remove generated-index.rst and search-page.rst
Dietmar Maurer [Tue, 5 Mar 2019 17:36:22 +0000 (18:36 +0100)]
docs: remove generated-index.rst and  search-page.rst

This does not work as expected.

5 years agodocs: add manual page for proxmox-backup-proxy
Dietmar Maurer [Tue, 5 Mar 2019 17:09:37 +0000 (18:09 +0100)]
docs: add manual page for proxmox-backup-proxy

5 years agodocs: define author and version inside epilog.rst
Dietmar Maurer [Tue, 5 Mar 2019 16:42:48 +0000 (17:42 +0100)]
docs: define author and version inside epilog.rst

5 years agosrc/client/http_client.rs: store/load ticket in xdg runtime dir, depend on crate xdg
Dietmar Maurer [Tue, 5 Mar 2019 11:54:44 +0000 (12:54 +0100)]
src/client/http_client.rs: store/load ticket in xdg runtime dir, depend on crate xdg

5 years agosrc/api2/access.rs: authenticate_user() - add ticket login
Dietmar Maurer [Tue, 5 Mar 2019 11:53:59 +0000 (12:53 +0100)]
src/api2/access.rs: authenticate_user() - add ticket login

5 years agosrc/tools/ticket.rs: define const TICKET_LIFETIME
Dietmar Maurer [Tue, 5 Mar 2019 11:52:39 +0000 (12:52 +0100)]
src/tools/ticket.rs: define const TICKET_LIFETIME

5 years agosrc/tools.rs: impl file_get_json()
Dietmar Maurer [Tue, 5 Mar 2019 11:50:52 +0000 (12:50 +0100)]
src/tools.rs: impl file_get_json()

5 years agobackup_info: BackupDir shortcut
Wolfgang Bumiller [Tue, 5 Mar 2019 08:16:54 +0000 (09:16 +0100)]
backup_info: BackupDir shortcut

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agobackup_info: use two independent Into<String> types
Wolfgang Bumiller [Tue, 5 Mar 2019 08:13:07 +0000 (09:13 +0100)]
backup_info: use two independent Into<String> types

there's no reason to force them to be the same input type

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agosrc/bin/proxmox-backup-client.rs: print backup duration
Dietmar Maurer [Tue, 5 Mar 2019 07:11:40 +0000 (08:11 +0100)]
src/bin/proxmox-backup-client.rs: print backup duration

5 years agosrc/backup/backup_info.rs: improve docs
Dietmar Maurer [Tue, 5 Mar 2019 06:28:13 +0000 (07:28 +0100)]
src/backup/backup_info.rs: improve docs

5 years agosrc/backup/backup_info.rs: move code into separate file
Dietmar Maurer [Tue, 5 Mar 2019 06:18:12 +0000 (07:18 +0100)]
src/backup/backup_info.rs: move code into separate file

Also changed create_backup_dir() parameters - uses &BackupDir now.

5 years agosrc/backup/datastore.rs: add helper to sort backup lists
Dietmar Maurer [Mon, 4 Mar 2019 17:20:57 +0000 (18:20 +0100)]
src/backup/datastore.rs: add helper to sort backup lists

5 years agosrc/backup/datastore.rs: use unix epoch to create DateTime
Dietmar Maurer [Mon, 4 Mar 2019 16:58:22 +0000 (17:58 +0100)]
src/backup/datastore.rs: use unix epoch to create DateTime

To make sure that we have a timestamp without nanosecond.

5 years agosrc/backup/datastore.rs: use new() function to create structs
Dietmar Maurer [Mon, 4 Mar 2019 16:44:27 +0000 (17:44 +0100)]
src/backup/datastore.rs: use new() function to create structs

5 years agosrc/backup/datastore.rs: protect BackupDir fields, impl new()
Dietmar Maurer [Mon, 4 Mar 2019 12:51:36 +0000 (13:51 +0100)]
src/backup/datastore.rs: protect BackupDir fields, impl new()

5 years agosrc/backup/datastore.rs: protect BackupGroup fields, impl new()
Dietmar Maurer [Mon, 4 Mar 2019 12:38:23 +0000 (13:38 +0100)]
src/backup/datastore.rs: protect BackupGroup fields, impl new()

5 years agosrc/bin/proxmox-backup-client.rs: simply log to stdout
Dietmar Maurer [Mon, 4 Mar 2019 08:38:34 +0000 (09:38 +0100)]
src/bin/proxmox-backup-client.rs: simply log to stdout

5 years agosrc/backup/datastore.rs: make sure timestamp does not contains nanoseconds
Dietmar Maurer [Mon, 4 Mar 2019 08:37:10 +0000 (09:37 +0100)]
src/backup/datastore.rs: make sure timestamp does not contains nanoseconds

Because we want simple, readable file names.

5 years agosrc/catar/encoder.rs: add verbose flags
Dietmar Maurer [Mon, 4 Mar 2019 07:01:09 +0000 (08:01 +0100)]
src/catar/encoder.rs: add verbose flags

5 years agosrc/catar/encoder.rs: skip RAMFS
Dietmar Maurer [Mon, 4 Mar 2019 05:48:47 +0000 (06:48 +0100)]
src/catar/encoder.rs: skip RAMFS

unless explicitly selected.

5 years agosrc/bin/proxmox-backup-client.rs: rename create into backup
Dietmar Maurer [Sun, 3 Mar 2019 10:46:53 +0000 (11:46 +0100)]
src/bin/proxmox-backup-client.rs: rename create into backup

5 years agosrc/api2/admin/datastore.rs: imp delete_snapshot
Dietmar Maurer [Sun, 3 Mar 2019 10:29:00 +0000 (11:29 +0100)]
src/api2/admin/datastore.rs: imp delete_snapshot

5 years agoavoid compiler warning
Dietmar Maurer [Sun, 3 Mar 2019 08:52:06 +0000 (09:52 +0100)]
avoid compiler warning

5 years agocatar api: cleanup parameter names
Dietmar Maurer [Sun, 3 Mar 2019 08:48:32 +0000 (09:48 +0100)]
catar api: cleanup parameter names

5 years agosrc/bin/proxmox-backup-client.rs: use new json_object_to_query
Dietmar Maurer [Sun, 3 Mar 2019 08:44:25 +0000 (09:44 +0100)]
src/bin/proxmox-backup-client.rs: use new json_object_to_query

5 years agosrc/tools.rs: new helper json_object_to_query
Dietmar Maurer [Sun, 3 Mar 2019 07:51:37 +0000 (08:51 +0100)]
src/tools.rs: new helper json_object_to_query

5 years agodocs: add support link
Dietmar Maurer [Sat, 2 Mar 2019 17:23:48 +0000 (18:23 +0100)]
docs: add support link

5 years agodocs: add "What is Proxmox Backup"
Dietmar Maurer [Sat, 2 Mar 2019 17:08:00 +0000 (18:08 +0100)]
docs: add "What is Proxmox Backup"

5 years agodocs: improve section "Why Backup"
Dietmar Maurer [Sat, 2 Mar 2019 16:51:18 +0000 (17:51 +0100)]
docs: improve section "Why Backup"

5 years agodocs: add more features
Dietmar Maurer [Sat, 2 Mar 2019 15:56:01 +0000 (16:56 +0100)]
docs: add more features

5 years agoparameter name cleanups (use '-' instead of '_')
Dietmar Maurer [Sat, 2 Mar 2019 15:34:10 +0000 (16:34 +0100)]
parameter name cleanups (use '-' instead of '_')

5 years agosrc/api2/admin/datastore.rs: rename get_group_list to list_groups, cleanups
Dietmar Maurer [Sat, 2 Mar 2019 15:28:36 +0000 (16:28 +0100)]
src/api2/admin/datastore.rs: rename get_group_list to list_groups, cleanups

5 years agosrc/api2/admin/datastore.rs: impl list_snapshots
Dietmar Maurer [Sat, 2 Mar 2019 15:20:50 +0000 (16:20 +0100)]
src/api2/admin/datastore.rs: impl list_snapshots

5 years agosrc/tools.rs: add simply string join
Dietmar Maurer [Sat, 2 Mar 2019 15:12:34 +0000 (16:12 +0100)]
src/tools.rs: add simply string join

5 years agosrc/api2/admin/datastore.rs: impl list_backup_groups
Dietmar Maurer [Sat, 2 Mar 2019 10:29:05 +0000 (11:29 +0100)]
src/api2/admin/datastore.rs: impl list_backup_groups

5 years agodocs: add epilog.rst to define common things.
Dietmar Maurer [Sat, 2 Mar 2019 09:31:32 +0000 (10:31 +0100)]
docs: add epilog.rst to define common things.

5 years agosrc/backup/datastore.rs: use timestamp with zone offset
Dietmar Maurer [Fri, 1 Mar 2019 16:36:40 +0000 (17:36 +0100)]
src/backup/datastore.rs: use timestamp with zone offset

5 years agosrc/backup/datastore.rs: split BackupDir
Dietmar Maurer [Fri, 1 Mar 2019 11:43:11 +0000 (12:43 +0100)]
src/backup/datastore.rs: split BackupDir

5 years agosrc/backup/datastore.rs: split BackupInfo
Dietmar Maurer [Fri, 1 Mar 2019 11:32:10 +0000 (12:32 +0100)]
src/backup/datastore.rs: split BackupInfo

5 years agobackup/index: remove IndexIterator
Wolfgang Bumiller [Fri, 1 Mar 2019 12:29:19 +0000 (13:29 +0100)]
backup/index: remove IndexIterator

removed the need for it, to avoid copies

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agosrc/bin/proxmox-backup-client.rs: generate a log file
Dietmar Maurer [Fri, 1 Mar 2019 08:35:41 +0000 (09:35 +0100)]
src/bin/proxmox-backup-client.rs: generate a log file