INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Backup schedual  (Read 1214 times)

maid

  • Citizen of the Universe
  • *****
  • Posts: 2015
Backup schedual
« on: May 02, 2019, 07:01:13 pm »

Is there any way we can force an automatic backup?
My system failed this morning and I had to restore a backup, only to note that it was two days old.

many files had been changed in those two days, hence a lot of work to do now.
Logged
Intel Core i5-4590 CPU,  Haswell Gen2,  LGA1150, 3.3GHz 6 DDR3/ 2x PCIE3.0 x16 16gb Ram Windows 10 64 bit Asus Z97-DELUXE ATX Motherboard Nvidia GForce gtx1080 Receiver Onkyo TX-NR925 TV LG LF6300 55" smart TV

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Backup schedual
« Reply #1 on: May 02, 2019, 08:27:43 pm »

You can use the Media Center "Scheduler" under "Services & Plugins" to run the "mc25.exe /MCC 20011,1" command as often as once a day. See https://wiki.jriver.com/index.php/Media_Center_Core_Commands for parameter options.
I haven't tested, but running this command with the ",1: silent automatic backup" parameter may replace the current automatic backup, while the ",0: normal" may provide an additional backup to the automatic backups. Test it.

If you want it to run more than once a day, you can use the Windows Task Scheduler to run it as often as you like. In fact, you might even be able to trigger a backup based on some event related to MC.

Or perhaps better yet, use the Windows Task Scheduler to create a backup every time the PC wakes from Sleep, if you let your PCs sleep and that makes sense. You would just need to find the Event Log, Source, and ID setting to identify the Wake Event, and use that as a trigger, perhaps with a slight delay so that the PC doesn't try to create a backup as soon as it wakes. Google will help with that. Ask if you can't find that information. Or start here: https://www.sevenforums.com/general-discussion/308855-using-task-scheduler-restart-program-upon-wake-sleep.html

Or if you shut down your PCs, create a backup on reboot. Or on any number of other events.

You can also just press Ctrl+Shift+B to create a Library Backup at any time you want.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

maid

  • Citizen of the Universe
  • *****
  • Posts: 2015
Re: Backup schedual
« Reply #2 on: May 02, 2019, 08:54:35 pm »

once a day would be great but I am using 24 and cant see scheduler
Logged
Intel Core i5-4590 CPU,  Haswell Gen2,  LGA1150, 3.3GHz 6 DDR3/ 2x PCIE3.0 x16 16gb Ram Windows 10 64 bit Asus Z97-DELUXE ATX Motherboard Nvidia GForce gtx1080 Receiver Onkyo TX-NR925 TV LG LF6300 55" smart TV

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Backup schedual
« Reply #3 on: May 02, 2019, 09:06:25 pm »

I don't know why you wouldn't see Scheduler. It has been there forever, and it isn't a Feature that can be turned off.

See the image for the location and a sample task.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

maid

  • Citizen of the Universe
  • *****
  • Posts: 2015
Re: Backup schedual
« Reply #4 on: May 03, 2019, 12:28:47 am »

silly me i was looking in tools
Found it
I have put it in there as best as my knowledge allows.
I have set for every day does this backup go into the backup folder I designated?
Thanks again, the wiki is too complicated for me to understand.
Logged
Intel Core i5-4590 CPU,  Haswell Gen2,  LGA1150, 3.3GHz 6 DDR3/ 2x PCIE3.0 x16 16gb Ram Windows 10 64 bit Asus Z97-DELUXE ATX Motherboard Nvidia GForce gtx1080 Receiver Onkyo TX-NR925 TV LG LF6300 55" smart TV

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Backup schedual
« Reply #5 on: May 03, 2019, 12:59:58 am »

The Library Backups will go into the folder you have set in "Options > File Location > Program Files > Library Backups".
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

maid

  • Citizen of the Universe
  • *****
  • Posts: 2015
Re: Backup schedual
« Reply #6 on: May 03, 2019, 01:03:38 am »

now how to figure how to do this through the network.
I think maybe not as I cant see the cdrive on the theater ...
Logged
Intel Core i5-4590 CPU,  Haswell Gen2,  LGA1150, 3.3GHz 6 DDR3/ 2x PCIE3.0 x16 16gb Ram Windows 10 64 bit Asus Z97-DELUXE ATX Motherboard Nvidia GForce gtx1080 Receiver Onkyo TX-NR925 TV LG LF6300 55" smart TV

maid

  • Citizen of the Universe
  • *****
  • Posts: 2015
Re: Backup schedual
« Reply #7 on: May 03, 2019, 01:35:34 am »

doesnt appear to work as i tried the now.
It runs but I dont see a backup
I would do a shedual task too complicated
Logged
Intel Core i5-4590 CPU,  Haswell Gen2,  LGA1150, 3.3GHz 6 DDR3/ 2x PCIE3.0 x16 16gb Ram Windows 10 64 bit Asus Z97-DELUXE ATX Motherboard Nvidia GForce gtx1080 Receiver Onkyo TX-NR925 TV LG LF6300 55" smart TV

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Backup schedual
« Reply #8 on: May 03, 2019, 08:29:12 pm »

I have run it twice this morning by changing the Start Time in its configuration, and it is working. It created backup files.

Rather than using Windows Explorer, I check for the backup files by going to "Files > Library > Restore Backup > Browse" as that way I know MC will look in the location set in  "Options > File Location > Program Files > Library Backups", and that is an easy way to view all the backup files. I reverse sort that directory so the most recent backups are at the top. Windows remembers my sort setting for that directory.

Are you sure no backup was created?
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

maid

  • Citizen of the Universe
  • *****
  • Posts: 2015
Re: Backup schedual
« Reply #9 on: May 03, 2019, 09:44:15 pm »

You were correct, I dont know how it happened but MC was creating a backup not were I had instructed.

I think its working now thanks again
Logged
Intel Core i5-4590 CPU,  Haswell Gen2,  LGA1150, 3.3GHz 6 DDR3/ 2x PCIE3.0 x16 16gb Ram Windows 10 64 bit Asus Z97-DELUXE ATX Motherboard Nvidia GForce gtx1080 Receiver Onkyo TX-NR925 TV LG LF6300 55" smart TV

maid

  • Citizen of the Universe
  • *****
  • Posts: 2015
Re: Backup schedual
« Reply #10 on: May 05, 2019, 10:15:26 pm »

does not work on for me I start the machine every morning but no backup is created unless i go and check the actual settings then it does.
Logged
Intel Core i5-4590 CPU,  Haswell Gen2,  LGA1150, 3.3GHz 6 DDR3/ 2x PCIE3.0 x16 16gb Ram Windows 10 64 bit Asus Z97-DELUXE ATX Motherboard Nvidia GForce gtx1080 Receiver Onkyo TX-NR925 TV LG LF6300 55" smart TV

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Backup schedual
« Reply #11 on: May 05, 2019, 11:07:03 pm »

I wasn't sure, but I thought it may only work if you have MC, or Media Server running. I didn't check that, but it makes sense as MC doesn't create a Windows Task to launch this.

So, either;
1. Always leave Media Server running so that the task will launch. (Check that works, and doesn't cause other issues for you, with the way you use one library and two PCs. I'm still not sure this will wake the PC from Sleep.)
2. Change the time to a time that you usually have MC running.
3. Set up a Windows Task to do the job.
4. Just use Ctrl+Shift+B to run the backup as required, such as after making changes.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

maid

  • Citizen of the Universe
  • *****
  • Posts: 2015
Re: Backup schedual
« Reply #12 on: May 06, 2019, 01:25:48 am »

Hi
yes i wouldn't mind setting up a task through windows but way to compicated for me without consice instruction.

Think I will have to put up with remembering to BU manualy
Logged
Intel Core i5-4590 CPU,  Haswell Gen2,  LGA1150, 3.3GHz 6 DDR3/ 2x PCIE3.0 x16 16gb Ram Windows 10 64 bit Asus Z97-DELUXE ATX Motherboard Nvidia GForce gtx1080 Receiver Onkyo TX-NR925 TV LG LF6300 55" smart TV
Pages: [1]   Go Up