How to take a user table backup from that user account? I mean i want to give him grants to take backup... also query to take backup.
Majestics
84
Posting Pro
Recommended Answers
Jump to PostYou need to run the EXP utility from the user account.
Jump to PostPut this in a batch file and call as desired.
for /f "tokens=2,3,4 delims=/ " %%a in ('date /t') do set fdate=%%a%%b%%c for /f "tokens=1,2,3,4,5 delims=: " %%a in ('time /t') do set ftime=%%a%%b%%c%%d%%e exp userid=DEBASIS/DEBASIS@DEBASIS_DB file=C:\BACKUP\backup%fdate%%ftime%.dmp log=C:\BACKUP\backup%fdate%%ftime%.log
All 6 Replies
debasisdas
580
Posting Genius
Featured Poster
Majestics
84
Posting Pro
debasisdas
580
Posting Genius
Featured Poster
Majestics
84
Posting Pro
debasisdas
580
Posting Genius
Featured Poster
Majestics
commented:
Marvellous, Thanx
+4
Majestics
84
Posting Pro
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.