Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
etc-update und verlorene Dateien
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
AMSch
Apprentice
Apprentice


Joined: 29 Mar 2004
Posts: 179
Location: Austria

PostPosted: Sat Jul 30, 2005 2:36 pm    Post subject: etc-update und verlorene Dateien Reply with quote

Hallo!

Ich war leider nicht aufmerksam genung und habe bei etc-update mein alte smb.conf überschrieben, die ich noch brauchen würde - gibt es eine Möglichkeit diese Datei wiederherzustellen oder muss ich einfach nochmal von vorne beginnen?

Danke!
Back to top
View user's profile Send private message
Fibbs
Guru
Guru


Joined: 26 Jan 2003
Posts: 448
Location: Forstern near Munich / Germany

PostPosted: Sat Jul 30, 2005 2:39 pm    Post subject: Reply with quote

etc-update überschreibt die Datei, wenn Du es ihm so befiehlst.

Du wirst also keine Chance haben, an die Datei heranzukommen, außer Du hast einen Editor benutzt, der automatisch eine Sicherheitskopie der Datei erstellt. joe z. B. macht das defaultmäßig so. Schau mal, ob Du eine Datei /etc/samba/smb.conf~ oder irgendwas mit .smb* hast in dem Verzeichnis.


Fibbs
Back to top
View user's profile Send private message
AMSch
Apprentice
Apprentice


Joined: 29 Mar 2004
Posts: 179
Location: Austria

PostPosted: Sat Jul 30, 2005 2:54 pm    Post subject: Reply with quote

Alles klar - danke - werd wohl neu beginnen müssen - wäre vielleicht ein feature-request, das etc-update die Dateien nicht löscht sondern archiviert?!?
Back to top
View user's profile Send private message
mrsteven
Veteran
Veteran


Joined: 04 Jul 2003
Posts: 1939

PostPosted: Sat Jul 30, 2005 3:50 pm    Post subject: Reply with quote

Genau dafür gibt es dispatch-conf, ist sogar schon installiert, du musst es nur noch einrichten (/etc/dispatch-conf.conf).
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3541
Location: Berlin

PostPosted: Sat Jul 30, 2005 5:13 pm    Post subject: Reply with quote

Ich mache regelmäßig ein Backup von /etc mit rsync. Da ich nicht so der Konsolenfreak bin, habe ich mir das mittel Xdialog zum Klicken in mein Programmenü eingehangen. Vor etc-update erst mal ein Klick zur Sicherheit.
Back to top
View user's profile Send private message
psyeye
Guru
Guru


Joined: 06 Dec 2002
Posts: 409
Location: Germany

PostPosted: Sat Jul 30, 2005 9:16 pm    Post subject: Reply with quote

flammenflitzer wrote:
nicht so der Konsolenfreak [...]Xdialog zum Klicken


Ich denke, dann könnte "zenity" für Dich interessant sein! Das ist Xdialog mit Gtk2, demnach optisch viel besser zu ertragen... ;)

psyeye
(der auch mehr als ein Zenity-Script hier rumliegen hat...)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum