]>
git.proxmox.com Git - proxmox-backup.git/log
Thomas Lamprecht [Tue, 21 Jul 2020 10:58:47 +0000 (12:58 +0200)]
docs: GC followup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Aaron Lauterer [Tue, 21 Jul 2020 09:54:37 +0000 (11:54 +0200)]
chunk_store: Fix typo in bail message
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Aaron Lauterer [Tue, 21 Jul 2020 09:54:36 +0000 (11:54 +0200)]
backup: Fix typos and grammar
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Aaron Lauterer [Tue, 21 Jul 2020 09:54:35 +0000 (11:54 +0200)]
docs: fix #2851 Add note about GC grace period
Adding a note about the garbage collection's grace period due to the
default atime behavior should help to avoid confusion as to why space is
not freed immediately.
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Thomas Lamprecht [Mon, 20 Jul 2020 12:39:02 +0000 (14:39 +0200)]
followup: fixup the directory number, refactor
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Stoiko Ivanov [Fri, 17 Jul 2020 14:55:17 +0000 (14:55 +0000)]
docs: add note on supported filesystems
certain filesystems cannot be used as chunkstores, because they don't
support 2^16 subdirectories (e.g. ext4 with certain features disabled
or ext3 - see ext4(5))
reported via our community forum:
https://forum.proxmox.com/threads/emlink-too-many-links.73108/
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Dylan Whyte [Fri, 17 Jul 2020 14:25:04 +0000 (16:25 +0200)]
docs: introduction: rewording and fixing of minor errors
Reworded one sentence for improved readability.
Fixed some minor language errors.
Signed-off-by: Dylan Whyte <d.whyte@proxmox.com>
Dylan Whyte [Fri, 17 Jul 2020 14:24:31 +0000 (16:24 +0200)]
docs: admin guide: fix grammatical errors and improve English
Mostly fixed typos and grammatical errors.
Improved wording in some sections to make instructions/advice clearer.
Signed-off-by: Dylan Whyte <d.whyte@proxmox.com>
Fabian Grünbichler [Mon, 20 Jul 2020 10:07:45 +0000 (12:07 +0200)]
bump udev build-dependency
0.4 contains a fix for C chars on non-x86 architectures.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Mon, 20 Jul 2020 08:22:13 +0000 (10:22 +0200)]
build: run tests on build (again)
now that all examples and tests are fixed again.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Fabian Grünbichler [Mon, 20 Jul 2020 08:22:12 +0000 (10:22 +0200)]
manifest: revert canonicalization to old behaviour
JSON keys MUST be quoted. this is a one-time break in signature
validation for backups created with the broken canonicalization code.
QEMU backups are not affected, as libproxmox-backup-qemu never linked
the broken versions.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Dominik Csapak [Fri, 17 Jul 2020 13:39:17 +0000 (15:39 +0200)]
examples/upload-speed: adapt to change
commit
323b2f3dd6364119f2ffcd7397161e9f56cdb3fc
changed the signature of upload_speedtest
adapt the example
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Sun, 19 Jul 2020 17:42:13 +0000 (19:42 +0200)]
tools/xattr: a char from C is not universally a rust i8
Make it actually do the correct cast by using `libc::c_char`.
Fixes issues when building on other platforms, e.g., the aarch64
client only build on Arch Linux ARM I tested in my free time.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 15 Jul 2020 07:11:16 +0000 (09:11 +0200)]
server: add path value to NOT_FOUND http error
Especially helpful for requests not coming from browsers (where the
URL is normally easy to find out).
Makes it easier to detect if one triggered a request with an old
client, or so..
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Wolfgang Bumiller [Thu, 16 Jul 2020 09:48:22 +0000 (11:48 +0200)]
bump pxar dependency to 0.2.1
Contains a fix for the check for the maximum allowed size of
acl group object entries.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Dominik Csapak [Wed, 15 Jul 2020 09:40:42 +0000 (11:40 +0200)]
catalog_shell: add exit command
it is nice to have a command to exit from the shell instead of
only allowing ctrl+d or ctrl+c
the api method is just for documentation/help purposes and does nothing
by itself, the real logic is directly in the read loop
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 15 Jul 2020 09:53:26 +0000 (11:53 +0200)]
pxar: .pxarexclude: absolute paths and byte based paths
Change the .pxarexclude parser to byte based parsing with
`.split(b'\n')` instead of `.lines()`, to not panic on
non-utf8 paths.
Specially deal with absolute paths by prefixing them with
the current directory.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 15 Jul 2020 09:53:19 +0000 (11:53 +0200)]
tools: add strip_ascii_whitespace for byte slices
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Thomas Lamprecht [Wed, 15 Jul 2020 06:33:22 +0000 (08:33 +0200)]
cached user info: check_privs: print privilege path in error message
As else this is really user unfriendly, and it not printing it has no
advantage. If one doesn't wants to leak resource existence they just
need to *always* check permissions before checking if the requested
resource exists, if that's not done one can leak information also
without getting the path returned (as the system will either print
"resource doesn't exists" or "no permissions" respectively)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 14 Jul 2020 10:31:17 +0000 (12:31 +0200)]
buildsys: fix targets to not run dpkg-buildpackage 4 times
and add a deb-all target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 14 Jul 2020 10:05:34 +0000 (12:05 +0200)]
bump version to 0.8.7-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 14 Jul 2020 09:08:34 +0000 (11:08 +0200)]
d/lintian-overrides: ignore systemd-service-file-refers-to-unusual-wantedby-target
proxmox-backup-banner.service needs getty.target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 14 Jul 2020 08:56:19 +0000 (10:56 +0200)]
ui: datastore edit: avoid an extra indentation level
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Wolfgang Bumiller [Tue, 14 Jul 2020 08:37:14 +0000 (10:37 +0200)]
warning fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 14 Jul 2020 08:18:54 +0000 (10:18 +0200)]
bump version to 0.8.7-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 14 Jul 2020 07:16:16 +0000 (09:16 +0200)]
pxar: restore file attributes, improve errors
and use the correct integer types for these operations
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Thomas Lamprecht [Tue, 14 Jul 2020 05:42:55 +0000 (07:42 +0200)]
ui: buildsys: add lint target
not yet automatically called on build, as it still fails.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 14 Jul 2020 05:30:50 +0000 (07:30 +0200)]
docs: installation: add note where to find the webinterface
As the 8007 vs 8006 port is new and could confuse people, especially
if they did not used the PBS installer.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 13 Jul 2020 17:23:48 +0000 (19:23 +0200)]
docs: fix typo s/PBS_REPOSTOR/PBS_REPOSITOR/
Reported-by: Piotr Paszkowski aka patefoniQ
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 11 Jul 2020 10:53:27 +0000 (12:53 +0200)]
ui: running tasks: update limit to 100
else we'll never see the 99+ tasks ..
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 10 Jul 2020 12:12:51 +0000 (14:12 +0200)]
docs: add secure-apt
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 10 Jul 2020 09:35:04 +0000 (11:35 +0200)]
bump version to 0.8.6-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dietmar Maurer [Fri, 10 Jul 2020 09:28:19 +0000 (11:28 +0200)]
src/backup/data_blob_reader.rs: avoid unwrap() - return error instead
Thomas Lamprecht [Fri, 10 Jul 2020 09:17:20 +0000 (11:17 +0200)]
ui: fingerprint: add icon to copy button
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 10 Jul 2020 09:13:54 +0000 (11:13 +0200)]
ui: fingerprint: add copy button
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dominik Csapak [Fri, 10 Jul 2020 08:51:13 +0000 (10:51 +0200)]
ui: add show fingerprint button to dashboard
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 10 Jul 2020 08:51:12 +0000 (10:51 +0200)]
api2/node/status: add fingerprint
and rename get_usage to get_status (since its not usage only anymore)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 10 Jul 2020 08:51:11 +0000 (10:51 +0200)]
refactor CertInfo to tools
we want to reuse some of the functionality elsewhere
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Wolfgang Bumiller [Fri, 10 Jul 2020 09:05:19 +0000 (11:05 +0200)]
update proxmox crate to 0.2.0
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Dietmar Maurer [Fri, 10 Jul 2020 08:36:13 +0000 (10:36 +0200)]
src/bin/proxmox_backup_client/catalog.rs: fix keyfile handling
Dietmar Maurer [Fri, 10 Jul 2020 08:31:42 +0000 (10:31 +0200)]
src/backup/manifest.rs: fix signature (exclude 'signature' property)
Wolfgang Bumiller [Fri, 10 Jul 2020 07:57:55 +0000 (09:57 +0200)]
client: show key path when creating/changing default key
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Thomas Lamprecht [Fri, 10 Jul 2020 07:34:07 +0000 (09:34 +0200)]
client: add simple version command
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dietmar Maurer [Fri, 10 Jul 2020 07:13:08 +0000 (09:13 +0200)]
proxmox-backup-client benchmark: improve output format
Dietmar Maurer [Fri, 10 Jul 2020 04:56:12 +0000 (06:56 +0200)]
src/server/rest.rs: avoid compiler warning
Thomas Lamprecht [Thu, 9 Jul 2020 19:56:45 +0000 (21:56 +0200)]
ui: running task: increase active limit we show in badge to 99
Two digits fit nicely, and the extra plus for the >99 case doesn't
takes that much space either. So that and the fact that 9 is just
really low makes me bump this to 99 as cut-off value.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 9 Jul 2020 19:51:24 +0000 (21:51 +0200)]
ui: tune badge styling a bit
the idea is to blend in when no task is running, thus no
background-color there. When tasks are running use the proxmox
branding guideline dark-grey, it isn't used as often so it should
fall into ones eye when changing but it has some use so it doesn't
seems out of place.
Reduce the border radius by a lot, so that it seems similar to the
one our ExtJS theme uses for the buttons outside - the original
border radius seems like it comes from the time where this was
intended to be a floating badge, there it'd make sense but as
integrated button one this seems to fit the style much more.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 9 Jul 2020 19:31:32 +0000 (21:31 +0200)]
docs: reference PDF variant in HTML output
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 9 Jul 2020 19:23:41 +0000 (21:23 +0200)]
debian/proxmox-backup-docs.links: fix name and target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Stoiko Ivanov [Thu, 9 Jul 2020 16:15:28 +0000 (16:15 +0000)]
datastore: chown base dir on creation
When creating a new datastore the basedir is only owned by the backup
user if it did not exist beforehand (create_path chowns only if it
creates the directory), and returns false if it did not create the
directory).
This improves the experience when adding a new datastore on a fresh
disk or existing directory (not owned by backup) - backups/pulls can
be run instead of terminating with EPERM.
Tested on my local testinstall with a new disk, and a existing directory:
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Dominik Csapak [Thu, 9 Jul 2020 14:11:51 +0000 (16:11 +0200)]
ui: dashboard/TaskSummary: fade icons if count is zero
so that users can see the relevant counts faster
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 9 Jul 2020 14:50:24 +0000 (16:50 +0200)]
ui: fix crypt mode caluclation
also include 'mixed' in the calculation of the overall mode of a
snapshot and group
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Thomas Lamprecht [Thu, 9 Jul 2020 15:05:41 +0000 (17:05 +0200)]
docs: add initial basic software stack definition
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dietmar Maurer [Thu, 9 Jul 2020 15:07:22 +0000 (17:07 +0200)]
proxmox-backup-client benchamrk: add more speed tests
Dietmar Maurer [Thu, 9 Jul 2020 14:18:14 +0000 (16:18 +0200)]
src/server/rest.rs: disable debug logs
Dietmar Maurer [Thu, 9 Jul 2020 14:16:39 +0000 (16:16 +0200)]
proxmox-backup-client benchmark: add --verbose flag
Dietmar Maurer [Thu, 9 Jul 2020 13:35:07 +0000 (15:35 +0200)]
bump version to 0.8.5-1
Dominik Csapak [Thu, 9 Jul 2020 13:05:11 +0000 (15:05 +0200)]
fix cross process task listing
it does not make sense to check if the worker is running if we already
have an endtime and state
our 'worker_is_active_local' heuristic returns true for non
process-local tasks, so we got 'running' for all tasks that were not
started by 'our' pid and were still running
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Stoiko Ivanov [Thu, 9 Jul 2020 12:59:15 +0000 (12:59 +0000)]
docs: expand datastore documentation
document retention settings and schedules per datastore with
some minimal examples.
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Stoiko Ivanov [Thu, 9 Jul 2020 12:59:14 +0000 (12:59 +0000)]
docs: add remotes and sync-jobs and schedules
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Wolfgang Bumiller [Thu, 9 Jul 2020 12:33:07 +0000 (14:33 +0200)]
bump pathpatterns to 0.1.2
Fixes `**/foo` not matching "foo" without slashes.
(`**/lost+found` now matches the `lost+found` dir at the
root of our tree properly).
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Thomas Lamprecht [Thu, 9 Jul 2020 12:25:14 +0000 (14:25 +0200)]
ui: align version and user-menu spacing with pve/pmg
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 9 Jul 2020 12:24:33 +0000 (14:24 +0200)]
ui: make username a menu-button
like we did in PVE and PMG
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dietmar Maurer [Thu, 9 Jul 2020 12:28:44 +0000 (14:28 +0200)]
bump version to 0.8.4-1
Dominik Csapak [Thu, 9 Jul 2020 11:38:21 +0000 (13:38 +0200)]
ui: add TaskButton in header
opens a grid with the running tasks and a shortcut the the node tasks
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 9 Jul 2020 11:38:20 +0000 (13:38 +0200)]
ui: add RunningTasksStore
so that we have a global store for running tasks
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Wolfgang Bumiller [Thu, 9 Jul 2020 12:06:41 +0000 (14:06 +0200)]
simpler lost+found pattern
the **/ is not required and currently also mistakenly
doesn't match /lost+found which is probably buggy on the
pathpatterns crate side and needs fixing there
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Dietmar Maurer [Thu, 9 Jul 2020 11:55:15 +0000 (13:55 +0200)]
bump version to 0.8.3-1
Dominik Csapak [Wed, 8 Jul 2020 12:59:19 +0000 (14:59 +0200)]
get_disks: don't fail on zfs_devices
zfs does not have to be installed, so simply log an error and
continue, users still get an error when clicking directly on
ZFS
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 8 Jul 2020 12:59:18 +0000 (14:59 +0200)]
disks/zpool_status: add test for pool with special character
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 8 Jul 2020 12:59:17 +0000 (14:59 +0200)]
disks/zpool_list: allow some more characters for pool list
not exhaustive of what zfs allows (space is missing), but this
can be done easily without problems
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 8 Jul 2020 12:59:16 +0000 (14:59 +0200)]
zpool_list: add tests for special pool names
those names are allowed for zpools
these will fail for now, but it will be fixed in the next commit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 8 Jul 2020 12:59:15 +0000 (14:59 +0200)]
api: add ZPOOL_NAME_SCHEMA and regex
poolnames can containe spaces and some other special characters
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Wolfgang Bumiller [Thu, 9 Jul 2020 10:08:00 +0000 (12:08 +0200)]
minor optimization to 'to_canonical_json'
* don't clone hash keys, just use references
* we don't need a String, stick to Vec<u8> and use
serde_json::to_writer to avoid a temporary strings
altogether
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Dominik Csapak [Wed, 8 Jul 2020 11:32:20 +0000 (13:32 +0200)]
ui: adapt for new sign-only crypt mode
we can now show 'none', 'encprypted', 'signed' or 'mixed' for
the crypt mode
also adds a different icon for signed files, and adds a hint that
signatures cannot be verified on the server
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Thu, 9 Jul 2020 11:25:38 +0000 (13:25 +0200)]
src/backup/manifest.rs: add default toömake it compatible with older backus
Dietmar Maurer [Thu, 9 Jul 2020 09:59:10 +0000 (11:59 +0200)]
bump version toö 0.8.2-1
Thomas Lamprecht [Thu, 9 Jul 2020 09:39:07 +0000 (11:39 +0200)]
buildsys: also upload debug packages
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dietmar Maurer [Thu, 9 Jul 2020 09:28:05 +0000 (11:28 +0200)]
src/backup/manifest.rs: rename into_string -> to_string
And do not consume self.
Dietmar Maurer [Thu, 9 Jul 2020 08:01:31 +0000 (10:01 +0200)]
bump version to 0.8.1-1
Dietmar Maurer [Thu, 9 Jul 2020 07:48:30 +0000 (09:48 +0200)]
src/backup/manifest.rs: use serde_json::from_value() to deserialize data
Also modified from_data compute signature ditectly from json.
Wolfgang Bumiller [Thu, 9 Jul 2020 07:34:58 +0000 (09:34 +0200)]
typos
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Dietmar Maurer [Thu, 9 Jul 2020 07:20:49 +0000 (09:20 +0200)]
src/backup/manifest.rs: cleanup signature generation
Dietmar Maurer [Thu, 9 Jul 2020 07:15:15 +0000 (09:15 +0200)]
tests/blob_writer.rs: make it work again
Thomas Lamprecht [Wed, 8 Jul 2020 17:08:16 +0000 (19:08 +0200)]
ship pbstest repo as sources.list.d file for beta
NOTE: the repo url is not yet working at time of commit, this is a
preparatory step.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 8 Jul 2020 16:17:52 +0000 (18:17 +0200)]
docs: package repos: drop non-tests for now
they won't work and thus just confuse people, re-add them once we're
releasing final.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 8 Jul 2020 16:15:33 +0000 (18:15 +0200)]
docs: move host sysadmin out to own chapter, fix ZFS one
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 8 Jul 2020 16:14:17 +0000 (18:14 +0200)]
docs: add missing todos
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Oguz Bektas [Wed, 8 Jul 2020 12:41:48 +0000 (14:41 +0200)]
add local-zfs.rst
content is > 90% same as local-zfs.adoc in pve-docs.
adapted the format for .rst
fixed some typos and wrote some parts slightly different (wording).
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
Dietmar Maurer [Wed, 8 Jul 2020 14:07:14 +0000 (16:07 +0200)]
src/backup/manifest.rs: include signature inside the manifest
This is more flexible, because we can choose what fileds we want to sign.
Dietmar Maurer [Wed, 8 Jul 2020 12:06:50 +0000 (14:06 +0200)]
src/backup/file_formats.rs: remove signed chunks
We can include signature in the manifest instead (patch will follow).
Thomas Lamprecht [Wed, 8 Jul 2020 13:41:09 +0000 (15:41 +0200)]
docs: fix repo paths
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Oguz Bektas [Wed, 8 Jul 2020 11:25:46 +0000 (13:25 +0200)]
improve administration guide
fixing some typos and grammar errors.
added example file layout for datastores.
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
Wolfgang Bumiller [Wed, 8 Jul 2020 11:52:17 +0000 (13:52 +0200)]
client: introduce --keyfd parameter
This is a more convenient way to pass along the key when
creating encrypted backups of unprivileged containers in PVE
where the unprivileged user namespace cannot access
`/etc/pve/priv`.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Dietmar Maurer [Wed, 8 Jul 2020 10:49:21 +0000 (12:49 +0200)]
src/backup/crypt_config.rs - compute_digest: make it more secure
Thomas Lamprecht [Wed, 8 Jul 2020 10:21:56 +0000 (12:21 +0200)]
ui: ds/content: disable some button for in-progress backup
We cannot verify, download, file-browse backups which are currently
in progress.
'Forget' could work but is probably not desirable?
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 8 Jul 2020 10:09:09 +0000 (12:09 +0200)]
ui: ds/content: do not count in-progress backups for last made one
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 8 Jul 2020 10:08:02 +0000 (12:08 +0200)]
ui: ds/content: show spinner for backups in progress
use the fact that they do not have a size property at all
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Wolfgang Bumiller [Wed, 8 Jul 2020 08:56:16 +0000 (10:56 +0200)]
more xdg cleanup and encryption parameter improvements
Have a single common function to get the BaseDirectories
instance and a wrapper for `find()` and `place()` which
wrap the error with some context.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Wed, 8 Jul 2020 08:42:05 +0000 (10:42 +0200)]
client: xdg usage: place() vs find()
place() is used when creating a file, as it will create
intermediate directories, only use it when actually placing
a new file.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>