Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics RMS (Archived)

Backing up RMS

Posted on by 100

I have set up an automatic backup daily with my Maxtor external drive. Problem is it keeps showing 0 bytes changed....

 

Drive works fine, doing a back-up manually with the RMS menu works fine...

My question is can anyone tell me exactly which files are backed-up when you use the back-up database option within the RMS software. With that information I may be able to figure out what the problem is with my daily automatic back-up.

Also, should I be backing up the MySQL database

 

Any comments, suggestions, or tips on this issue would be greatly appreciated...

 

Take Care...

*This post is locked for comments

  • Pandayan IT Profile Picture
    Pandayan IT 330 on at
    Re: Backing up RMS

    Mabuhay!

    In our case we bought an external drive (Bufallo 1 Terabyte) So in times of emergency we could simply plug it out on our server.  So we create an automatic backup using SQL Enterprise Manager.  Our local backup is working and its destination is on our drive d a partition od our main disk.  The problem taht we encounter about the external was, it doesnt backup on the said schedule, even if I created a folder from the external. Another day has passed we checked that the drive is not formatted to FAT32, it was NTFS so mostly backup drive needs only a 20GB or FAT32 format.  Then after that we successfully backup now our database.  Hope it can help also.

    Thanks,
    Pandayan IT         

     

  • GreenDog2009 Profile Picture
    GreenDog2009 100 on at
    Re: Re: Backing up RMS

    Thanks for the help ...

  • GreenDog2009 Profile Picture
    GreenDog2009 100 on at
    Re: Re: Re: Re: Backing up RMS

    Thanks for the help...

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Backing up RMS

    This is what we use and then burn it to a CD/DVD with Nero for Off site storage.

    c:
    cd\
    cd backup
    del *.bck
    del *.log

    osql -S (local) -E -Q "Backup Database RMSPOSMIS to DISK='C:\BACKUP\RMSPOSMIS.BCK'" -o C:\BACKUP\RMS_BACKUP.log

    del *.zip
    c:\progra~1\winzip\wzzip.exe c:\backup\RMSPOSMIS.ZIP c:\backup\*.bck c:\backup\*.log

     

    This works for Us as a Scheduled task in Windows XP Pro

    Paul H

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Re: Re: Backing up RMS

    Where do I find the SQL Trial? - Google "SQL Trial"

    Do I enter above script in the SQL Trial - Use SQL Query Analyzer or HQ/SO Administrator

    Also, do know of a good tutorial - Real the manual, help file, install notes, newsgroup, forum, etc.

    For real help with install, training, and operations, you need to contract with an MS Partner.

  • GreenDog2009 Profile Picture
    GreenDog2009 100 on at
    Re: Re: Backing up RMS

    Thanks for the help...

     Looks pretty straight--forward but my experience level w/MySQL db's is limited...

     

    Where do I find the SQL Trial?

    Do I enter above script in the SQL Trial or is it just an example script? (I do realize it would have to be edited w/my data)..

     

    Also, do know of a good tutorial that can be downloaded for the RMS?

    Thanks again...

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Backing up RMS

    Most backup programs without open file option will not backup the database while it's running.

    You will need to stop the server with batch file containing: Net Stop Mssqlserver or export the database to a bck file and then capture that with your backup solution.  You can do that with Enterprise Manager from the SQL Trial, or use suggestions from the following sql script.

    --This Transact-SQL script creates a backup job and calls sp_start_job to run the job.

    -- Create job.
    -- You may specify an e-mail address, commented below, and/or pager, etc.
    -- For more details about this option or others, see SQL Server Books Online.
    USE msdb
    EXEC sp_add_job @job_name = 'myTestBackupJob',
        @enabled = 1,
        @description = 'myTestBackupJob',
        @owner_login_name = 'sa',
        @notify_level_eventlog = 2,
        @notify_level_email = 2,
        @notify_level_netsend =2,
        @notify_level_page = 2
    --  @notify_email_operator_name = 'email name'
    go

    -- Add job step (backup data).
    USE msdb
    EXEC sp_add_jobstep @job_name = 'myTestBackupJob',
        @step_name = 'Backup provot Data',
        @subsystem = 'TSQL',
        @command = 'BACKUP DATABASE madison TO DISK = ''c:\backup\madison.bck''',
        @on_success_action = 3,
        @retry_attempts = 5,
        @retry_interval = 5
    go

    -- Add job step (backup log).
    USE msdb
    EXEC sp_add_jobstep @job_name = 'myTestBackupJob',
        @step_name = 'Backup provot Log',
        @subsystem = 'TSQL',
        @command = 'BACKUP LOG madison TO DISK = ''c:\backup\madison.bak''',
        @on_success_action = 1,
        @retry_attempts = 5,
        @retry_interval = 5
    go

    -- Add the target servers.
    USE msdb
    EXEC sp_add_jobserver @job_name = 'myTestBackupJob', @server_name = N'(local)'

    -- Run job. Starts the job immediately.
    USE msdb
    USE msdb
    EXEC sp_add_jobschedule @job_name = 'myTestBackupJob',
        @name = 'ScheduledBackup_msdb',
        @freq_type = 4, --daily
        @freq_interval = 1, --once
        @active_start_time = '220000' --(3:30 pm) 24hr HHMMSS

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans