Devam Ediyor

Bash script help

I'm just trying to [url removed, login to view] a directory: public_html/ and exclude one of it's subdirectories and the files within the subdirectory: store/

I'm trying to do this within a bash script called [url removed, login to view]

Also in the script is a line to dump my database

here are the contents of the script:

#!/bin/bash

mysqldump -h localhost -u dreadhq_joomla -p'MYPASS' --single-transaction dreadhq_joomla > $(date +%Y-%m-%d)[url removed, login to view]

tar --exclude='public_html/store/*' --exclude='public_html/store' -czvf $(date +%Y-%m-%d)[url removed, login to view] public_html/.

The problem is that the store dir and it's contents are not excluded when I run the script.

I need you to use chrome remote desktop to access my machine (mac air) which will have command line access to the server where the backup is taking place. From there you can adjust the script as needed. Please note this is a production server so special care is required.

I'm looking for bids at or around $10 to provide me with a backup script that works properly on my server.

Thank you for your bid.

Beceriler: Linux

Daha fazlasını görün: u.p.s. store, the u.p.s. store, mac bash script, bash directory script, bash script directory, bash 0, remote help, linux bash script, bash script, access database note taking, database note taking, backup script bash, bash backup, script mac, command help, script run access sql, sql server command, tgz, access note taking database, remote access script, backup contents, air script, remote sql server backup, backup sql script, need run can provide script run

İşveren Hakkında:
( 88 değerlendirme ) Columbia, United States

Proje NO: #6510973

Seçilen:

linuxfreak1985

Dear Customer, this is Yaseen, and i am glad to work for you project, We specialise in Linux Windows Unix VirtualMin Cpanel and Asterisk. I have read the project description and i assure you 100% quality and timely res Daha fazlası

1 gün içinde 10$ USD
(370 Değerlendirme)
7.6

7 freelancer bu iş için ortalamada 18$ teklif veriyor

kaloyan13

Hello, Try tar -czvf $(date +%Y-%m-%d)[url removed, login to view] --exclude='public_html/store/' public_html/

1 gün içinde 10$ USD
(45 Değerlendirme)
4.9
amcorreia

Hi, i can help you. .

1 gün içinde 25$ USD
(9 Değerlendirme)
3.5
Mondorica

In yout bash script. add GZIP=-9 time=`date "+%y.%m.%d.%H.%M.%S"` tar cvpf "/public_html/$[url removed, login to view]" --exclude="/public_html/store/" "/public_html/" > [url removed, login to view] gzip -9 "/public_html/$time Daha fazlası

1 gün içinde 30$ USD
(6 Değerlendirme)
2.8
freshjah

Hi, I am aware of the issue you are having with the backup. It is an easy fix that I can fix right away. Regards

1 gün içinde 15$ USD
(1 Değerlendirme)
1.8
dietkinnie

Hi, I'll be able to help you with your script. I'll also be able to provide you with the solution and script within the hour if you accept my proposal. Looking forward to doing business with you.

1 gün içinde 10$ USD
(2 Değerlendirme)
1.1
YaDoY666

Hi, name is Suharyadi, i come from Indonesia. I have more than 6 years experience in computer hacking and security. I am Computer Hacking Forensic Investigator and Computer Security Analyst Certified (CHFI and ECSA). I Daha fazlası

1 gün içinde 25$ USD
(0 Değerlendirme)
0.0