Jump to content

Mondo question


Recommended Posts

Hi folks, I've got a Mondo question. I've created a bash file under '/usr/local/sbin' called 'mondo.complete', which backs up my entire system using mondoarchive when I run it. Here it is:

 

-------------

#!/bin/bash

 

echo "Mondoing Complete System"

 

mount /dev/hdb5 /archive/backups

 

mondoarchive -OV -p complete.backup -i -s 80g -I / -E /archive/backups -N -d /archive/backups/mondo/complete -9 -F -G -S /archive/backups/mondo/scratch -T /archive/backups/mondo/temp

 

umount /dev/hdb5

------------

 

My question is this: I want the prefix ( -p complete.backup) to recognise the date of when it's created. I.e., when I run this command it would save the iso as /archive/backups/mondo/complete/complete_19-1-08_1.iso

Currently when I run this command it overwrites the current iso, or I need to edit this bash script to put the correct date in (tedious). Anyone got any hints on this? Have found setting the diff option is the same problem. Thanks!

 

~Mitchell

 

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

Hey folks, just a bump. Anyone got any guesses? If you're not familiar with how Mondo works, how would I do the same thing from the commandline? Any simple commands to add date/time etc to a file when it's created? Thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...