/    Sign up×
Community /Pin to ProfileBookmark

How to deal with database data when debugging a local site

I’m working on a client’s Drupal site and I’ll be downloading it to my computer to debug it. I’ll be importing a copy of the database with their data, and am wondering if I should do something with this. On the one hand, I could just delete all the info in the tables, but it may take quite a bit of time to add some dummy data, especially in the case of foreign keys, etc.

Is it standard practice to keep the client’s data on my computer to use for debugging or is there some other process for this?

Thanks much for all your help!

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@NogDogApr 14.2017 — Probably depends on the type of data and what sort of agreement you have with the client. The main thing you'd likely want to avoid is any user/billing data; so maybe you could copy the product data, but then create dummy user data (perhaps with a script so that you can replicate it as needed).
Copy linkTweet thisAlerts:
@aaronmcavinueauthorApr 14.2017 — Hey NogDog, thanks for the reply.

How much time/work should I put into doing something like adding test user/billing data? I may have to do this entirely from the application interface, and that might require me to get a fairly detailed understanding of the complete system -- they've really only hired me to fix one part of it.
×

Success!

Help @aaronmcavinue spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...