home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Talk
Calling all MP New Zealanders (Both of you!!)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="dvbkiwi" data-source="post: 644894" data-attributes="member: 99222"><p>I don't restore an original Directory, Instead I just perform a backup and keep the last 10 weeks so that I can go back to any Tuesday during that time. I use Winzip command line utility to backup my whole MP folder and the whole MySQL folder into zip files. I have 2 different backup files, One will do the backup and restart the services, The other does the same but performs a reboot instead. </p><p></p><p>My MediaPortal installation is on the C: Drive, My backup is made to the E: drive </p><p></p><p>See below</p><p></p><p>REM# START</p><p>REM# Detele Oldest Backup</p><p>Del E:\MP_Backup\Archive\*.zp10</p><p>Del E:\MP_Backup\Archive\*.lg10</p><p></p><p></p><p>REM# Rollover files to make space for new backup</p><p></p><p>Ren E:\MP_Backup\Archive\*.zp09 *.zp10</p><p>Ren E:\MP_Backup\Archive\*.zp08 *.zp09</p><p>Ren E:\MP_Backup\Archive\*.zp07 *.zp08</p><p>Ren E:\MP_Backup\Archive\*.zp06 *.zp07</p><p>Ren E:\MP_Backup\Archive\*.zp05 *.zp06</p><p>Ren E:\MP_Backup\Archive\*.zp04 *.zp05</p><p>Ren E:\MP_Backup\Archive\*.zp03 *.zp04</p><p>Ren E:\MP_Backup\Archive\*.zp02 *.zp03</p><p>Ren E:\MP_Backup\Archive\*.zp01 *.zp02</p><p>Ren E:\MP_Backup\Archive\*.zip *.zp01</p><p></p><p></p><p></p><p>Ren E:\MP_Backup\Archive\*.lg09 *.lg10</p><p>Ren E:\MP_Backup\Archive\*.lg08 *.lg09</p><p>Ren E:\MP_Backup\Archive\*.lg07 *.lg08</p><p>Ren E:\MP_Backup\Archive\*.lg06 *.lg07</p><p>Ren E:\MP_Backup\Archive\*.lg05 *.lg06</p><p>Ren E:\MP_Backup\Archive\*.lg04 *.lg05</p><p>Ren E:\MP_Backup\Archive\*.lg03 *.lg04</p><p>Ren E:\MP_Backup\Archive\*.lg02 *.lg03</p><p>Ren E:\MP_Backup\Archive\*.lg01 *.lg02</p><p>Ren E:\MP_Backup\Archive\*.log *.lg01</p><p></p><p></p><p>REM# Move last weeks backup and log file to Archive folder</p><p>Move e:\MP_Backup\mysql.* E:\MP_Backup\Archive\</p><p>Move e:\MP_Backup\MEDIAPORTAL.* E:\MP_Backup\Archive\</p><p></p><p>REM# Stop Services</p><p>net stop TVService</p><p>net stop MySQL</p><p></p><p>REM# Create new backup and log results to output logfile</p><p>wzzip -pr e:\MP_Backup\mysql.zip "c:\Program Files\MySQL\*.*" >>e:\MP_Backup\mysql.log</p><p>wzzip -pr e:\MP_Backup\MEDIAPORTAL.zip "C:\Program Files\Team MediaPortal\*.*" >>e:\MP_Backup\MEDIAPORTAL.log</p><p></p><p>REM# net start MySQL</p><p>REM# net start TVService</p><p></p><p>REM# Restart Server in 60 Secs</p><p>shutdown -r -t 60 -f</p><p></p><p>:END</p><p></p><p>Being a little paranoid, I also have other tools to backup my movies and music once a month to a different server in the house and have a manual backup of my client computers so that I don't have to re-import the moving pictures database in the event of a failure.</p></blockquote><p></p>
[QUOTE="dvbkiwi, post: 644894, member: 99222"] I don't restore an original Directory, Instead I just perform a backup and keep the last 10 weeks so that I can go back to any Tuesday during that time. I use Winzip command line utility to backup my whole MP folder and the whole MySQL folder into zip files. I have 2 different backup files, One will do the backup and restart the services, The other does the same but performs a reboot instead. My MediaPortal installation is on the C: Drive, My backup is made to the E: drive See below REM# START REM# Detele Oldest Backup Del E:\MP_Backup\Archive\*.zp10 Del E:\MP_Backup\Archive\*.lg10 REM# Rollover files to make space for new backup Ren E:\MP_Backup\Archive\*.zp09 *.zp10 Ren E:\MP_Backup\Archive\*.zp08 *.zp09 Ren E:\MP_Backup\Archive\*.zp07 *.zp08 Ren E:\MP_Backup\Archive\*.zp06 *.zp07 Ren E:\MP_Backup\Archive\*.zp05 *.zp06 Ren E:\MP_Backup\Archive\*.zp04 *.zp05 Ren E:\MP_Backup\Archive\*.zp03 *.zp04 Ren E:\MP_Backup\Archive\*.zp02 *.zp03 Ren E:\MP_Backup\Archive\*.zp01 *.zp02 Ren E:\MP_Backup\Archive\*.zip *.zp01 Ren E:\MP_Backup\Archive\*.lg09 *.lg10 Ren E:\MP_Backup\Archive\*.lg08 *.lg09 Ren E:\MP_Backup\Archive\*.lg07 *.lg08 Ren E:\MP_Backup\Archive\*.lg06 *.lg07 Ren E:\MP_Backup\Archive\*.lg05 *.lg06 Ren E:\MP_Backup\Archive\*.lg04 *.lg05 Ren E:\MP_Backup\Archive\*.lg03 *.lg04 Ren E:\MP_Backup\Archive\*.lg02 *.lg03 Ren E:\MP_Backup\Archive\*.lg01 *.lg02 Ren E:\MP_Backup\Archive\*.log *.lg01 REM# Move last weeks backup and log file to Archive folder Move e:\MP_Backup\mysql.* E:\MP_Backup\Archive\ Move e:\MP_Backup\MEDIAPORTAL.* E:\MP_Backup\Archive\ REM# Stop Services net stop TVService net stop MySQL REM# Create new backup and log results to output logfile wzzip -pr e:\MP_Backup\mysql.zip "c:\Program Files\MySQL\*.*" >>e:\MP_Backup\mysql.log wzzip -pr e:\MP_Backup\MEDIAPORTAL.zip "C:\Program Files\Team MediaPortal\*.*" >>e:\MP_Backup\MEDIAPORTAL.log REM# net start MySQL REM# net start TVService REM# Restart Server in 60 Secs shutdown -r -t 60 -f :END Being a little paranoid, I also have other tools to backup my movies and music once a month to a different server in the house and have a manual backup of my client computers so that I don't have to re-import the moving pictures database in the event of a failure. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Talk
Calling all MP New Zealanders (Both of you!!)
Contact us
RSS
Top
Bottom