Jun 24, 2018 - 08:02 AM

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Author Message
TheJoker
Post subject: Log Scriptgesteuert archivieren  PostPosted: Jun 01, 2006 - 11:17 AM




Joined: Jul 15, 2005
Posts: 88

Ich möchte einige Logdateien (Apache,mysql,syslog,...) in regelmäßigen Abständen über mit perl über sftp auf einen anderen Server verschieben. Kann ich mir sicher sein, dass die Anwendungen automatisch eine neue Logdatei anlegen, wenn ich der alten einen anderen Namen gebe, oder muss ich dass anders lösen um einen Datenverlust zu vermeiden?
 
 View user's profile Send private message  
Reply with quote Back to top
Neuer_User
Post subject: Log Scriptgesteuert archivieren  PostPosted: Jun 01, 2006 - 11:31 AM




Joined: Nov 21, 2004
Posts: 1008

ich würde sicherheitshalber die Datei kopieren und nach dem (erfolgreichen) Hochladen via SFTP löschen sowie die Originaldatei "leeren" via echo -n > meine_logdatei

So mach ichs auf meinem Server. Geht dort problemlos.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits
 
RSS All News | English News | Deutsche News | All Forum Topics | English Forum Topics | Deutsche Forum Topics
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you

Fatal error: Call to a member function Execute() on a non-object in /srv/www/subdomains/archive/includes/pnSession.php on line 378