View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon May 21, 2007 10:09 pm 
Offline
Joined: Wed Mar 22, 2006 1:47 pm
Posts: 5
I would like to backup my recordings to a USB harddrive.

Is this possible, and how do I transfer files to this drive.

thanks

donald


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 22, 2007 6:54 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Run the standard backup script to capture the DB and configuration state, then copy the whole /myth directory tree over to the other drive. I use a script like this:
Code:
root@black2:~# cat /root/scripts/back.sh
#!/bin/bash

#find / -name '*.orig' -print | xargs rm
find / -type f -name '*~' -print | xargs rm
find /myth/tmp -type f -print | xargs rm

/usr/local/bin/mythbackup &&
/usr/bin/rsync -av --delete /myth /backup

Note that /backup is the location where I've mounted the baqckup drive.


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 22, 2007 8:39 am 
Offline
Joined: Sun Feb 26, 2006 11:46 am
Posts: 67
Also, find now has a built-in command to delete found files, use -delete at the end instead of -print (or both, if you want to keep a log of deleted stuff).


Top
 Profile  
 
 Post subject: USB backup
PostPosted: Tue May 22, 2007 8:42 am 
Offline
Joined: Wed Mar 22, 2006 1:47 pm
Posts: 5
Is there a way to create off-line directories of the re-occuring recordings ?

I guess I did not mean backup.

I would like to move each recording to a seperate sub-directory on the USB disk.

Thanks

don


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 22, 2007 8:50 am 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
I bring up a terminal window and go to /myth/pretty you'll find your recordings. Then just
Code:
#cp <TV show name> /to_your_usb_device
<Tab> is your friend in getting the recorded name correctly. Then just delete (if you wish) the recording from the FE NOT the command line. (Of course this is assuming your USB device is mounted and all...)


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 22 guests


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 post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu