Koozali.org: home of the SME Server

Manually kick off the Standard Backup

Offline Smitro

  • *
  • 350
  • +0/-0
Manually kick off the Standard Backup
« on: October 21, 2008, 11:17:58 PM »
Hi all,

I've started using the new backup option that is now included with SME, it was known as backup to dar. Last night I forgot to leave the machine on that my SME box backs up to, so I missed a backup. Is there a command that will manually kick it off?
.........

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: Manually kick off the Standard Backup
« Reply #1 on: October 22, 2008, 09:00:25 AM »
/sbin/e-smith/do_backupwk should do the trick.

Offline Smitro

  • *
  • 350
  • +0/-0
Re: Manually kick off the Standard Backup
« Reply #2 on: October 22, 2008, 09:33:56 AM »
Cool, that looks like it's done/doing the trick. It doesn't return a prompt, so does that mean I have to leave the session open until it's done?

Is there a way to background this task for future?
.........

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: Manually kick off the Standard Backup
« Reply #3 on: October 22, 2008, 09:55:43 AM »
No, it's a child process, so even if you background it (with &) when you close the session it will terminate abnormally.

Offline Smitro

  • *
  • 350
  • +0/-0
Re: Manually kick off the Standard Backup
« Reply #4 on: October 22, 2008, 09:58:35 AM »
Fair enough. Thanks.
.........

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Manually kick off the Standard Backup
« Reply #5 on: October 22, 2008, 04:12:22 PM »
Is there a way to background this task for future?

nohup name/of/command

Offline Smitro

  • *
  • 350
  • +0/-0
Re: Manually kick off the Standard Backup
« Reply #6 on: November 23, 2008, 10:39:31 PM »
This doesn't work, it still leaves you without a prompt, and if you close it, it will end the backup.
.........

Offline thomasch

  • *
  • 232
  • +0/-0
Re: Manually kick off the Standard Backup
« Reply #7 on: November 24, 2008, 03:34:56 AM »
try add an ampersand trailing :

nohup /sbin/e-smith/do_backupwk &

thomas

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Manually kick off the Standard Backup
« Reply #8 on: November 24, 2008, 12:43:29 PM »
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)