Find Jobs
Hire Freelancers

Powershell script to copy latest db backup from a directory tree

$30-250 USD

Complété
Publié il y a presque 5 ans

$30-250 USD

Payé lors de la livraison
Need a single powershell script to copy files to a another directory: Retrieve the latest *.bak file from a directory structure and copy it to another directory Sample source structure: Z:\dbs\ -SQLSERVER1BACKUPS -DB1 -FULL [login to view URL] [login to view URL] [login to view URL] -LOGS [login to view URL] [login to view URL] -DB2 -FULL [login to view URL] [login to view URL] [login to view URL] -LOGS [login to view URL] [login to view URL] Scan large directory tree(approx 1500 databases in this structure) and copy the newest .bak([login to view URL] and [login to view URL] from the above example from each subdirectory into to Z:\restores. Also need to be able to modify the script or provide input to filter the list by file name(*DB1*.bak, *DB2*.bak, etc)
N° de projet : 20129370

Concernant le projet

15 propositions
Projet à distance
Actif à il y a 5 ans

Cherchez-vous à gagner de l'argent ?

Avantages de faire une offre sur Freelancer

Fixez votre budget et vos délais
Soyez payé pour votre travail
Surlignez votre proposition
Il est gratuit de s'inscrire et de faire des offres sur des travaux
Décerné à :
Avatar de l'utilisateur
Hey Paul, I hope everything is OK with you. Here is my offer, I hope we can work together again one more time. Have a great one and I'm looking forward for your reply! Edit: for some reason the project is not on my Project Dashboard, can you please re-award me so I can accept it? Thank you in advance!
$100 USD en 3 jours
5,0 (7 commentaires)
3,2
3,2
15 freelances proposent en moyenne $124 USD pour ce travail
Avatar de l'utilisateur
I am good in powershell, SQL along with development and automation, please let me know if you are good to award this project to me
$150 USD en 2 jours
5,0 (35 commentaires)
5,3
5,3
Avatar de l'utilisateur
hey I'm Romain, a French Microsoft certified guy. I can do that for you, I already wrote a lot of powershell scripts (you can have a look to my reviews) please contact me for more informations best regards Romain
$111 USD en 1 jour
5,0 (20 commentaires)
5,1
5,1
Avatar de l'utilisateur
Hey there, I'm a System Engineer with coding skills. I had developed tons of scripts using PowerShell. I can help. Regards.
$250 USD en 7 jours
5,0 (8 commentaires)
4,2
4,2
Avatar de l'utilisateur
Hi. I would like to work on your project. The solution can be as following 1. script scan directory recursivelly and compare file names on this directory with destination structure and make decision about copying or not based on filename existance. Also it should have some logging functionality with rotation to simplify for debugging purpose. Another way may be calculating hash of file to avoid duplication and then make decision functionality will be based on hash values. This can be added to scheduler under system account as widely used approach 2. using robocopy utility which support mirroring option that does the exactly you want to do. But here we have less control under functionality Another problem you may run into is free size of destination storage , so powershell script may look better as we can configure it additionally to ignore some situation. Feel free to ask any questions :)
$83 USD en 4 jours
5,0 (7 commentaires)
3,1
3,1
Avatar de l'utilisateur
Hello Mr, I can help you with this powershell project, contact me by chat to get more details. Best Regards.
$70 USD en 5 jours
5,0 (6 commentaires)
3,2
3,2
Avatar de l'utilisateur
Hello, The steps would be like this: 1. Enumerate all database with its properties, so we will get the backup path of each databases. It uses command: Get-SqlDatabase 2. then doing the sorting of the found backup files in order getting the last backup file. it uses the Commons File enumeration functions, such as ReadFileList($srv) 3. Then do the file copying operation using the command: Copy-Item That's it.
$111 USD en 1 jour
5,0 (1 commentaire)
2,1
2,1
Avatar de l'utilisateur
Hi there Thanks for using freelancer com. I am super experienced with PowerShell and it is one of my favorite programming, scripting languages. I have accomplished harder tasks than this one. Please ping me to get started. Thanks, regards. Sergio
$127 USD en 7 jours
5,0 (1 commentaire)
0,7
0,7
Avatar de l'utilisateur
Hi. I am a system administrator with 6 years of Experience in Windows server administration & DB administration. I am an expert in Powershell, Vb Scripts, Python & Kaseya VSA Procedures. I have written a lot of automation scripts in my sys admin career. I can complete this project with ease l. Kindly DM me to discuss about the project. Thanks & Kind Regards.
$100 USD en 2 jours
0,0 (0 commentaires)
0,0
0,0
Avatar de l'utilisateur
I've built a few powershell scripts to do something similar. Based on your needs it'll probably take me a couple of hours to vet at most. If you'd like it done asap I would be more than happy to help you out. Thanks for your consideration.
$150 USD en 1 jour
0,0 (0 commentaires)
0,0
0,0
Avatar de l'utilisateur
Solution: The PowerShell script will scan through the input directory for the input file pattern and copy them to the destination directory. While copying files script will write to log files for future references what has happened. I do have experience on automating many administrative activities using PowerShell.
$140 USD en 4 jours
0,0 (0 commentaires)
0,0
0,0
Avatar de l'utilisateur
Hi, I have good experience in working on PowerShell extensively. Created and deployed scripts for automating complex processes that generally involve lot of manual work. Done similar activities in the past recently so would be able to deliver you the task on time.
$90 USD en 2 jours
0,0 (0 commentaires)
0,0
0,0
Avatar de l'utilisateur
I have already done this type of project previously. So, I can do it easily in powershell script.
$140 USD en 7 jours
0,0 (0 commentaires)
0,0
0,0
Avatar de l'utilisateur
Hi there! I've been working with PowerShell since 2 yrs! I'm currently working on creating users, adding to AD groups, Modifying user details, generated by an Application, in On-Prem AD and integrating it to Azure AD! Everything using PowerShell scripts! Check out my profile and let me know what you think!
$166 USD en 1 jour
0,0 (0 commentaires)
0,0
0,0

À propos du client

Drapeau de UNITED STATES
Pensacola, United States
5,0
2
Méthode de paiement vérifiée
Membre depuis avr. 5, 2018

Vérification du client

Merci ! Nous vous avons envoyé un lien par e-mail afin de réclamer votre crédit gratuit.
Une erreur a eu lieu lors de l'envoi de votre e-mail. Veuillez réessayer.
Utilisateurs enregistrés Total des travaux publiés
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Chargement de l'aperçu
Permission donnée pour la géolocalisation.
Votre session de connexion a expiré et vous avez été déconnecté. Veuillez vous connecter à nouveau.