Read the statement by Michael Teeuw here.
Starter problem
-
@strawberry-3.141 Thank you for todays help, can’t find the reason,
and no, I get no messages.
Thanks a lot -
@in_a_days
Thank’s a lot for your help, but strawberry allready repaired my mistakes, so by now i’m fine, just thinking about what is the best way to save such a running system, so I can go back when things go wrong and I found out things go very quick wrong :)
So have a nice day and Thank you -
@kurt
I would create an archive of the entire magicmirror folder.cd ~ tar -cvf mirror.tar /MagicMirror -
@yawns
this is on the Raspi and on which place will he make the archiv ?
And to save it outside the best way is? I#m using Filzilla is this a right tool for this plan?
Thanks -
@kurt
This command will create a file called mirror.tar in your home directory on your raspberry. You can copy/transfer it to your computer with filezilla, the same way you did to copy new files to your raspberry -
@yawns
perfekt
thank you, I better bring my sheeps to a save place :) -
@yawns
Sorry didn’t happen,
he refused “cowardly or yellow” this is the translation I found, to create an empty archiv.pi@raspberrypi:~/MagicMirror $ tar -cvf mirror.tar/MagicMirror tar: Anlegen eines leeren Archivs wird feige verweigert. „tar --help“ oder „tar --usage“ gibt weitere Informationen. -
Two things -
- You’re in the MagicMirror directory. Type this:
cd ~- You need a space here:
tar -cvf mirror.tar/MagicMirrorshould be
tar -cvf mirror.tar /MagicMirror -
-
That’s okay! You’re in the right folder now :)
In the previous post your command prompt looked like this:
pi@raspberrypi:~/MagicMirror $Which shows you in the MagicMirror directory. But if your command prompt now looks like this:
pi@raspberrypi:~ $Then you are back in the correct ‘~’ folder and you can proceed to step 2.
-
@in_a_days said in Starter problem:
tar -cvf mirror.tar /MagicMirror
this is what I get:
pi@raspberrypi:~ $ cd ~ pi@raspberrypi:~ $ tar -cvf mirror.tar /MagicMirror tar: Entferne führende „/“ von Elementnamen tar: /MagicMirror: Funktion stat fehlgeschlagen: Datei oder Verzeichnis nicht gefunden tar: Beende mit Fehlerstatus aufgrund vorheriger FehlerWhat do you think?
Thank you -
I apologize, I have not used the tar command before. Remove the ‘/’ before MagicMirror. Try:
tar -cvf mirror.tar MagicMirror -
@in_a_days
Thank you everything went qicker than the eye…
what is the name of the file, it should be outside of the MM file in the pi file? -
Great! I’m still very new to this and I’m not using FTP. But there should now be a file named ‘mirror.tar’ in your ‘pi’ directory.
-
@in_a_days
seems to be well hidden, wherever it is…hmm
couldn’t find it -
-
@in_a_days
here we are :)pi@raspberrypi:~ $ ls Bilder Dokumente mirror.tar npm-debug.log python_games Videos Desktop Downloads Music oldconffiles Scratch Documents MagicMirror Musik Public Templatesbut isn’t shown in Filezilla directory
should be in Bilder Dokumente mirror.tar ? right?
the path is not quite clear for menot that easy…Thanks a lot for your time in_a_days
-
Happy to help! Unfortunately, this is where my knowledge ends. I’m not sure what folders you can see over Filezilla. But again make sure you are in the ~ directory and try this:
cp mirror.tar DokumenteIf you can access that Dokumente folder in Filezilla, you should now see the mirror.tar file.
-
no, Bilder and Dokumente is two different folders,
either it’s the first directory you get to when connecting with ftp
OR
it is in /home/pi/ -
@in_a_days and @broberg
Thank you, not that easy to find the lost sheeps
the file was in:/home/pi/Dokumentebut Filezilla didn’t show the file from the start, also I refreshed…
So Thanks a lot for your quick help!
Kurt
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login