[PC-BSD Commits] r13453 - pcbsd/current/src-qt4/life-preserver

svn at pcbsd.org svn at pcbsd.org
Wed Oct 19 13:01:43 PDT 2011


Author: kris
Date: 2011-10-19 13:01:43 -0700 (Wed, 19 Oct 2011)
New Revision: 13453

Modified:
   pcbsd/current/src-qt4/life-preserver/lifePreserverWizard.cpp
Log:

Set the default life-preserver remote directory to the hostname of the system, so we potentially don't keep clobbering
over multiple system backups



Modified: pcbsd/current/src-qt4/life-preserver/lifePreserverWizard.cpp
===================================================================
--- pcbsd/current/src-qt4/life-preserver/lifePreserverWizard.cpp	2011-10-19 18:29:09 UTC (rev 13452)
+++ pcbsd/current/src-qt4/life-preserver/lifePreserverWizard.cpp	2011-10-19 20:01:43 UTC (rev 13453)
@@ -145,6 +145,9 @@
    myPreserver.setNumBackups(7);
    myPreserver.setFailedCleanup(true);
 
+   // Set the default remote directory to the system hostname
+   myPreserver.setRemoteDir(QString::fromLocal8Bit(getenv("HOST")));
+
    if ( radioDaily->isChecked() )
      myPreserver.setCron("daily");
 



More information about the Commits mailing list