Comments (6)
First results:
- "screen" is great! must now get used to it.
- first part of my new backup-setup works great (speeded up Raspi4 backup with factor 100, even connected via USB2)
from dietpi.
so far so good - nice to have such a qualified support
from dietpi.
I guess the flag folder is still present, could not be removed by the original dietpi-backup
instance due to a SIGKILL or so. Usually when a SSH session is lost, it should send a graceful SIGTERM. Which SSH server are you using?
This should solve it:
rmdir /tmp/DietPi-Backup
from dietpi.
Hi, I'm using this great software: https://github.com/asbru-cm/asbru-cm it's very useful if one has more than one server
in the basement.
This is what I got:
root@rasp4-DietPi-server:# rmdir /tmp/DietPi-Backup
rmdir: konnte '/tmp/DietPi-Backup' nicht entfernen: Das Verzeichnis ist nicht leer
root@rasp4-DietPi-server:~#
english: couldn't delete directory: directory not empty
the ssh server is the one installed by DietPi - Dropbear I guess.
from dietpi.
Try this instead:
rm -R /tmp/DietPi-Backup
The backup process was terminated due to the SSH session loss. Such can be generally avoided by using e.g. GNU/screen: https://packages.debian.org/screen
It creates a detachable shell which survives connection losses and and be reattached any time later.
However, no worries about the long backup run: All files which have been copied already remain copied and won't be copied again. Basically the backup continues where it stopped.
I'll try to replicate the hard kill in case of Dropbear connection loss. Probably it is SIGKILLed because rsync
wants to finish the whole process, which takes longer than Dropbear allows. I could imaging that it sends a SIGTERM first, allowing some time for graceful process termination, but a SIGKILL after some timeout.
from dietpi.
Great support!
- It worked, many thanks (till now i solved it the brutal way: Pi reboot)
- I'll give screen a try and familiarize myself with it - seems to be what I need and was looking for
- backup took too long anyway, maybe because of the nfs share (?); I've read some comments about difficulties with nfs and rsync sometimes (actually I could get it starting only after adding the parameter "no_root_squash" in the exports file of the nfs server)
- I'm working on another backup-setup (better filter for DietPi-Backup => only on physically attached SSD I can boot from in case of emergency, all other files handled by syncthing between my several servers and desktops) - should result in much better speed (and reliability too)
Many thanks for your great and rapid support!
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.