|
SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.) |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
How Do You Backup Sage Recordings?
Suppose you have say Drive X:\videos with sage recordings and Z:\backup. Now suppose you have 2000 videos and they are all backed up to Z. The following day, if you do a simple XCOPY from the X drive to the Z backup drive and only backup changed files, it's going to backup very fast since there might only be a few files to copy. Then The Z drive will have the new videos recorded on the X drive. The problem is knowing what videos to delete off of the Z drive.
So if the following day 3 files are deleted and 7 files are added, there will be 2004 files on the X drive. Now, if you do an XCOPY you can tell it to quickly copy the 7 new files so that's going to be much faster than trying to recopy everything from scratch. But, how can you tell it to delete the 3 files or in other words, mirror image the folder but copy the changed files and delete the ones off the backup that are no longer on the original? |
#2
|
|||
|
|||
https://docs.microsoft.com/en-us/win...mands/robocopy
Check out the /purge option or maybe just /mir.
__________________
Windows Installer |
#3
|
||||
|
||||
Rsync would be another option
|
#4
|
||||
|
||||
Quote:
https://www.bauerapps.com/compare-fo...mpare-advance/ |
#5
|
|||
|
|||
I use Robocopy between two systems in my house. Occasionally I get a large external hard drive and copy all media files to that and leave it at my office as an offsite backup. But that is onerous to do on a regular basis as you have to remember to bring it home every six months or whatever. The other problem is that pretty much every time you do this you need a larger external drive!
I used to also backup to Backblaze as a cloud backup. But I stopped that a few months ago. This isn't really what you asked, but since we are talking about backup options, for non-media files I use Microsoft OneDrive. I don't know how Dropbox is going to survive as it is cheaper to buy Microsoft's 365 subscription and get Office, for PCs and mobile, plus other stuff, plus 1TB/family member for C$109/yr. Dropbox charges C$156/yr for 2TB of storage and nothing else.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#6
|
|||
|
|||
I have a weekly Rsync job to backup only my family home videos from my unRAID SageTV system to my NAS drive. My full NAS drive is backed up weekly internally, and monthly externally, with a copy sent to offsite storage (safety deposit box) quarterly.
I don't bother backing up any other video files. Everything else can be re-recorded, or re-imported.
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, Unraid 6.11.5, sagetvopen-sagetv-server-opendct-java11 Docker (version 2.0.7) Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, SiliconDust HDHomeRun CONNECT 4K OTA Tuner Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K Max w/MiniClient Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls |
#7
|
||||
|
||||
GoodSync for Windows & a (cheap) Synology, nightly. It takes care of the deletions too.
|
#8
|
||||
|
||||
#9
|
|||
|
|||
I created a batch file that uses robocopy..... to backup SageTV on Windows .. you just need to make sure you have robocopy.
Code:
CD /d "%~dp0" set SageDIR=C:\Program Files\SageTV set DaysToKeep=365 set NUMBKUPS=2 set backup1="\\MYCLOUDPR4100\Public\SageBackups\%COMPUTERNAME%" set backup2="\\EDSYNOLOGY\Public\SageBackups\%COMPUTERNAME%" set backup3="\\xxxxxxxxxxxx\Public\SageBackups\%COMPUTERNAME%" set backup4="xxxxxxxxxx\%COMPUTERNAME%" set folderin="%~dp0" for /f "useback tokens=*" %%a in ('%folderin%') do set folderin=%%~a set folderin=%folderin:~0,-1% forfiles /p "%folderin%\%COMPUTERNAME%" /m SAGEBACKUP*.zip /c "cmd /c Del @path" /d -%DaysToKeep% if exist "%~dp0\%COMPUTERNAME%\SageTV" robocopy "%~dp0\%COMPUTERNAME%\SageTV" "%~dp0\%COMPUTERNAME%\SageTV_BKUP" /E /COPY:DT /MT /MIR /R:3 robocopy "%SageDIR%" "%~dp0\%COMPUTERNAME%\SageTV" /E /MT /MIR /R:3 rem robocopy "%SageDIR%" "%~dp0\%COMPUTERNAME%\SageTV" /E /MT /MIR /R:3 if exist "%~dp0\%COMPUTERNAME%\SageTV_BKUP" zip.exe -r "%~dp0%COMPUTERNAME%\SAGEBACKUP_%date:~-4,4%%date:~-10,2%%date:~-7,2%_%time:~0,2%%time:~3,2%%time:~6,2%.zip" "%~dp0\%COMPUTERNAME%\SageTV_BKUP" rem if exist "%~dp0\%COMPUTERNAME%\SageTV_BKUP" zip.exe -r "%COMPUTERNAME%.SAGEBACKUP_%date:~-4,4%%date:~-10,2%%date:~-7,2%_%time:~0,2%%time:~3,2%%time:~6,2%.zip" "%~dp0\%COMPUTERNAME%\SageTV_BKUP" if %NUMBKUPS% GEQ 1 robocopy "%folderin%\%COMPUTERNAME%" %backup1% /E /COPY:DT /MT /MIR /R:3 if %NUMBKUPS% GEQ 2 robocopy "%folderin%\%COMPUTERNAME%" %backup2% /E /COPY:DT /MT /MIR /R:3 if %NUMBKUPS% GEQ 3 robocopy "%folderin%\%COMPUTERNAME%" %backup3% /E /COPY:DT /MT /MIR /R:3 if %NUMBKUPS% GEQ 4 robocopy "%folderin%\%COMPUTERNAME%" %backup4% /E /COPY:DT /MT /MIR /R:3
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 06-15-2020 at 09:09 PM. |
#10
|
|||
|
|||
I've been using Karen's Replicator for several years now. Its functionality is similar to some of the others described.
__________________
Server: Windows 8.1 4gb RAM; 4TB SATA + others. Homebrew quad core AMD. Inputs: Haup. 980, 850 & 950Q on ATSC; Haup 1600 on ATSC & Comcast 2 DTAs with USBUIRT for NTSC. Haup 1800 on ATSC. HDHR Dual (ATSC). Sage 9.22 64 bit. |
#11
|
||||
|
||||
Quote:
https://www.karenware.com/ |
#12
|
||||
|
||||
I use AllwaySync. Creates a windows scheduled task I set for the wee hours.
|
#13
|
|||
|
|||
Quote:
|
#14
|
||||
|
||||
Having never used it (or heard of it until just now) does it skip programs which have already been backed up, aka only backs up new things?
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson |
#15
|
|||
|
|||
Can you set it up to keep X amount of days or does it just override with the new updated files.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#16
|
|||
|
|||
Yes, you can check off "copy files only if changed or added," which includes additional options for comparison.
__________________
Server: Windows 8.1 4gb RAM; 4TB SATA + others. Homebrew quad core AMD. Inputs: Haup. 980, 850 & 950Q on ATSC; Haup 1600 on ATSC & Comcast 2 DTAs with USBUIRT for NTSC. Haup 1800 on ATSC. HDHR Dual (ATSC). Sage 9.22 64 bit. |
#17
|
|||
|
|||
I don't think there's a way to specify number of days; if you check "copy files only if changed or added" it will overwrite with new updates. RoboCopy might have a way to select based on number of days - not something I've tried.
__________________
Server: Windows 8.1 4gb RAM; 4TB SATA + others. Homebrew quad core AMD. Inputs: Haup. 980, 850 & 950Q on ATSC; Haup 1600 on ATSC & Comcast 2 DTAs with USBUIRT for NTSC. Haup 1800 on ATSC. HDHR Dual (ATSC). Sage 9.22 64 bit. |
#18
|
|||
|
|||
So it has he Potential to replace a good DB with one that might have been recently corrupted so not really a safe backup.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#19
|
||||
|
||||
thanks
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson |
#20
|
|||
|
|||
Quote:
A simple replication is essentially an up to date copy of the source target. So, at execution, any changes in the source folders (file or folder deletions, replacements, or additions) are replicated in the destination folders. I had one of my SageTV video drives fail, this spring. I pointed SageTV at the replication drive and operation continued as before. After installing a replacement for the failed drive, i then directed Karen's Replicator to use it as the destination and a new replication was generated as I slept that night. That said, Karen made the tool very flexible. While not fully universally flexible for all imagined cases, she provided utility for the vast majority of my file & folder copy operations. Jobs can be setup for manual execution or for scheduled and repetitive operations. The GUI dashboard and setting forms are thoughtful and natural. See attachments. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Backup unwatched recordings | mgkicer | SageTV Customizations | 5 | 10-29-2008 09:47 AM |
what should I backup and not backup to reinstall a fresh copy of SageTV | mistergq | SageTV Software | 1 | 05-11-2008 09:00 PM |
Wiz.bin and Sage.Properties Backup Using WinXP Backup Util. | mayamaniac | SageTV Software | 28 | 05-03-2008 06:34 PM |
Backup Sage for complete windows/sage install | djseto | SageTV Software | 2 | 04-16-2008 09:16 PM |