Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8019313
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T21:21:15+00:00 2026-06-04T21:21:15+00:00

I want to move my .mdf and .ldf into my dropbox folder. I ran

  • 0

I want to move my .mdf and .ldf into my dropbox folder.

I ran this script command:

ALTER DATABASE MyDatabase1 MODIFY FILE 
(
   Name = matrix,
   Filename = 'C:\Users\mycomputer\Dropbox\MyDatabase1.mdf'
);

But I get this error:

The path specified by ‘C:\Users\mycomputer\Dropbox\MyDatabase1.mdf’ is
not in a valid directory.

I’m pretty sure it’s just a permissions issue where the sql service running my script doesn’t have the correct permissions. But I have no clue which object to grant all permissions to my DropBox. I tried mycomputer\users but that didn’t work. Can someone help please?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T21:21:16+00:00Added an answer on June 4, 2026 at 9:21 pm

    As far as I know, Dropbox does not make snapshots of the files it copies.

    This means the files could (and most probably would) be written to during the copy and they’ll arrive in inconsistent state, rendering them unusable.

    I believe you would want to use Log Shipping instead. This is a feature of SQL Server which allows transaction logs to be incrementally backed up and sent to another server (possibly by means of Dropbox), where they can be restored. This would allow you to have a snapshot of the database on another server.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to copy my database mdf and ldf files programmatically and also change
I want to move all files and folders inside a folder to another folder.
I want to move image to another x,y position. I try this code but
I want to move 1000000 files from a sources folder to destination folder using
We want to move our database to SQL azure. I'm using SQLAzureMW tool v3.8
I want to move nodes in nokogiri to a parent. I have this: <root>
i want to move text up (repeatedly) using java-script ?? i want to move
I want to move various parts of my app into simple scripts, to allow
I want to move full text catalogue for 1 database to a different location
I ran into a issue about Import/Export on SQL Server. I have a database

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.