Comments (10)
Oh this would be indeed pretty useful, but understandable low priority on you side.
(Ah and your assumption was right, that I never did a dietpi-backup before)
Its honestly unbelievable how good your support and dietpi is for such a long period!
from dietpi.
It depends on your backup location. Usually default location is within /mnt
. Simply remove backup folder.
from dietpi.
(just do be safe to not delete something important)
from dietpi.
Yes correct
from dietpi.
Thanks a lot, it works now.
Is there a simple way for you to integrate a short "availible disk space" check before doing such a the backup?
If no, then you can simply close this one as its not a really important improvement or a bug.
from dietpi.
There was a disk space check included some DietPi versions ago. We intentionally removed it since it took much time and gave incorrect results on network drives. And we thought that an error like "no space left" is quite clear and you would know what to do?
To have disk space better in view, you can add it to the login banner via dietpi-banner
. Or use df -h
to get a general overview of mounts and their free/used space.
from dietpi.
Ahh that explains it!
I remembered that "some moons ago" there was such a hint, but completely understandable that you removed it.
And yes, its obvious that files have to be deleted, but for me I didnt know what files.
Maybe it might be great that if the backup failed in this case, it automatically removes the files directly.
But surely you have more important things to do.
I will close this now and thank you for this great piece of software!
from dietpi.
In such case it is hard to say what the admin/user wants: If there was a backup before which is just updated, then the added disk usage is usually very small, so one might want to remove other data instead, ah or try to get some space via dietpi-cleaner
🙂. If it is a new backup and hence incomplete, removing is more likely to be wanted, until enough space is provided/cleared otherwise. We could add some info in case of an error, or extend the error message to contain the path to the backup, with the info that it is safe to remove it from there and start over. rsync
does not throw a particular error code when aborting due to insufficient disk space, but one which contains this case: https://manpages.debian.org/rsync#EXIT_VALUES
23 - Partial transfer due to error
This should be it.
Would be nice if you can tell me how I can delete the failed backup which was something about 120GB as it failed.
I didnt expected it fo get this big :)
I read this just now. We could also add an info to the backup prompt, telling what exactly is backed up. As long as /mnt/dietpi_userdata
is located on the rootfs, it is backed up as well, which in case contains media files, downloads and other data, which can be quite big. If userdata have been moved to an external drive, it is skipped, so then only the system itself and data in /var/lib
and users' home dirs are backed up.
from dietpi.
As my /mnt/dietpi_userdata
is on the rootfs and contains like ~2TB user data, I think that was the issue here and a dietp-cleaner wouldnt make a difference :D
So everything is fine for me and I will remember everything for future.
from dietpi.
Makes sense then to exclude userdata with the include/exclude filters. But I think in general a simple toggle for this would be helpful. This is actually long on the ToDo already, but low-priority indeed. In this particular case, the main problem is that you likely did not use dietpi-backup
before, hence could not know about the backup location etc, and the prompt triggered by the upgrade script (and also e.g. by dietpi-software reinstall ...
and some other cases) does not show you the dietpi-backup
menu with all the info, but just runs the backup with default settings when you hit "yes".
Let me open this issue as a reminder for this enhancement. We can e.g. check whether the dietpi-backup
config file exists, and show the full menu if not, so users see the backup location, can chance it and other settings etc, before the backup runs.
from dietpi.
Related Issues (20)
- DietPi-Software | NZBGet: Move to DEB packages?
- Dietpi-VPN IPVanish installation - Possible bugs with IpVanish's configs.zip and also "keysize" in .ovpn file HOT 6
- Dietpi connecting to Chinese sites? HOT 1
- Camera Led not working HOT 7
- Pi-hole setup fails after applying workaround from #6592 / bond0 interface HOT 2
- Unable to install Wazuh agent on Pi 5 HOT 3
- HTTP(S) connections (without DNS) to certain hosts are blocked (by ISP?) HOT 81
- Image | ROCK 3C HOT 1
- Open Beta v9.4 | Please help testing and hardening our upcoming release HOT 14
- Error when updating to 9.4 HOT 1
- Bare minimum backup and Better explanation of the backup process HOT 3
- dietpi-software: snapweb snapcast server invalid web root HOT 6
- Iteration v9.5 (2024-06-08)
- dietpi-letsencrypt installation HOT 3
- DietPi-Software | Add desktop selection to main menu
- Can't update Jellyfin HOT 4
- Motioneye Telegram notification error HOT 1
- Radxa Rock 3B
- Errors were encountered while processing: raspi-firmware E: Sub-process /usr/bin/dpkg returned an error code (1) HOT 4
- Error caused by update to v9.4.2 and by Dietpi-Software install attempt HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dietpi.