backup still don't work, even when using capital letters...
Don't use tar, it's broken, use rsync:davenull wrote:pi@raspberrypi:/media/pi/USB120DRV $ sudo tar --exclude=/media/* --exclude=/proc --exclude=/dev --exclude=/tmp --exclude=/run cvzf /media/pi/USB120DRV/pibackup.tar.gz /
tar: Eine der Optionen „-Acdtrux“, „--delete“ oder „--test-label“ ist notwendig.
„tar --help“ oder „tar --usage“ gibt weitere Informationen.
pi@raspberrypi:/media/pi/USB120DRV $
Code: Select all
mkdir -p /media/pi/USB120DRV/pibackup
cd /media/pi/USB120DRV/pibackup/
sudo rsync -avz --delete --exclude /sys --exclude /tmp --exclude /proc --exclude /run --exclude /media/* / .Code: Select all
sudo tar cvzf ../pibackup.tar.gz .me too.We actually thought of selling this to the Soviets to set their computer science progress back 20 or more years.
Why are you still using tar instead of rsync?davenull wrote:again hangs up
pi@raspberrypi:/media/pi/USB120DRV $ sudo tar --exclude=/media/* --exclude=/proc --exclude=/dev --exclude=/tmp --exclude=/run cvzf /media/pi/USB120DRV/pibackup.tar.gz /
tar: Eine der Optionen „-Acdtrux“, „--delete“ oder „--test-label“ ist notwendig.
„tar --help“ oder „tar --usage“ gibt weitere Informationen.
pi@raspberrypi:/media/pi/USB120DRV $ mkdir -p /media/pi/USB120DRV/pibackup
pi@raspberrypi:/media/pi/USB120DRV $ cd /media/pi/USB120DRV/pibackup/
pi@raspberrypi:/media/pi/USB120DRV/pibackup $ sudo rsync -avz --delete --exclude /sys --exclude /tmp --exclude /proc --exclude /run --exclude /media/* / .
(no pibackup dir created, no reaction then any more...)
me too.We actually thought of selling this to the Soviets to set their computer science progress back 20 or more years.

Use putty and ssh into your pi (but that might take a while to explain...[disclaimer: I use the command line as much as possible, even in windows, and I'm really hacked off they removed the unix stuff from the server OS])davenull wrote:perhaps that f***** small screen and that f***** command line and the f***** p'n'p which does not work between iceweasel and LX terminal
can you pass the cmd again please?
Code: Select all
mkdir -p /media/pi/USB120DRV/pibackup
cd /media/pi/USB120DRV/pibackup/
sudo rsync -avz --delete --exclude /sys --exclude /tmp --exclude /proc --exclude /dev --exclude /run --exclude /media/* / .All this has been posted from a windows laptop.davenull wrote:I have no putty
I have no ssh
disclaimer: I use WINDOWS
I never use cmd line and never will if possible !
So how do you explain that more devices run a type of unix than any other OS (most smart TVs run it, most routers run it, every android device runs it, PS3 and PS4 run it, and even Apple devices run it).davenull wrote: but Linux is a crap.
Worked fine on my PI, even the tar file.davenull wrote:well, I don't know anything about Apple except "High Walls and Holy Gardens". I don't like Apple.
anyway, the backup Linux command simply don't work, I wish it would.
Old-style clumped options with no leading hyphen, "cvzf", are only allowed as the first argument. You wanted "-cvzf".davenull wrote:pi@raspberrypi:/media/pi/USB120DRV $ sudo tar --exclude=/media/* --exclude=/proc --exclude=/dev --exclude=/tmp --exclude=/run cvzf /media/pi/USB120DRV/pibackup.tar.gz /