xfsdump doesn't allow levels beyond 0-9
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned | ||
xfsdump (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi!
I've found, quite surprised, that xfsdump doesn't allow dump level numbers outside of the range [0-9]. Given that even storing that number requires a full byte (8 bits), it boggles the mind why more numbers aren't supported. The usefulness of supporting more numbers (24? even 255...) is for taking hourly delta snapshots of live filesystems using xfsdump as a backup measure.
With a simple script one can write a backup that takes a full dump (level 0) of the filesystem for the first backup of a given date, and all other backups during that day are incrementals (levels are > 0 ... i.e. the hour of the day the backup is taken). However, given that the tool only supports [0-9] as the backup level, this seems like an arbitrary limitation.
Is there a real, technical limitation that this level is adhering to?
Cheers!
---
ProblemType: Bug
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC0D0p: diego 3916 F...m pulseaudio
/dev/snd/
DistroRelease: Ubuntu 19.04
InstallationDate: Installed on 2019-04-20 (26 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
MachineType: ASUS All Series
NonfreeKernelMo
Package: linux (not installed)
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
PulseList:
Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 1.178.1
RfKill:
3: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
Tags: disco
Uname: Linux 5.0.0-13-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
_MarkForUpload: True
dmi.bios.date: 09/15/2017
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 3801
dmi.board.
dmi.board.name: RAMPAGE V EXTREME
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: ASUS MB
dmi.product.name: All Series
dmi.product.sku: All
dmi.product.
dmi.sys.vendor: ASUS
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1829409
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.