Rsync: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Created page with "==Playground== {| | valign="top" | <syntaxhighlight lang="bash"> rsync -aqz ${BACKUPS_CFG_FILE} ${HAPROXY_ETC_BASE}/haproxy.cfg rsync -aqz ${HAPROXY_TMP_FILE} ${HAPROXY_ETC_BASE}/haproxy.cfg </syntaxhighlight> | valign="top" colspan="2" | <syntaxhighlight lang="bash"> sudo rsync -avz /etc/pgbouncer/pgbouncer.ini /etc/pgbouncer/pgbouncer.ini.bkp sudo rsync -avz /etc/pgbouncer/userlist.txt /etc/pgbouncer/userlist.txt.bkp </syntaxhighlight> |- | colspan="3" | ---- |- | v..."
 
 
(3 intermediate revisions by the same user not shown)
Line 30: Line 30:
rsync -a /home/minio    /home/system/
rsync -a /home/minio    /home/system/
</syntaxhighlight>
</syntaxhighlight>
|-
|-
| colspan="3" |
| colspan="3" |
Line 37: Line 38:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
rsync -avz /etc/ufw/{before,before6,user,user6,after,after6}.rules ${HOME}/.config/ufw/${BACKUP_DATE_TIME}/
rsync -avz /etc/ufw/{before,before6,user,user6,after,after6}.rules ${HOME}/.config/ufw/${BACKUP_DATE_TIME}/
rsync -avz deploy@app.academia.chorke.org:~/Documents/docker-playground/ .
</syntaxhighlight>
rsync -az ${HOME}/Downloads/harbor/ ${HOME}/Documents/harbor-playground/
|-
| colspan="3" |
----
|-
| valign="top" colspan="2" |
<syntaxhighlight lang="bash">
rsync -avz deploy@app.academia.chorke.org:~/Documents/docker-playground/ .
rsync -az ${HOME}/Downloads/harbor/ ${HOME}/Documents/harbor-playground/
rsync -avz ${HOME}/.config/ufw/${BACKUP_DATE_TIME}/*.rules /etc/ufw/
rsync -avz ${HOME}/.config/ufw/${BACKUP_DATE_TIME}/*.rules /etc/ufw/
</syntaxhighlight>
| valign="top" |
<syntaxhighlight lang="bash">
rsync -avh source/ target/ --delete-after --ignore-errors
rsync -r --progress source target
rsync -r --progress source target
apt install rsync
apt install rsync
Line 48: Line 61:
{|
{|
|valign="top"|
|valign="top"|
* [[Minikube Ingress DNS| Minikube » Ingress » DNS]]
* [[Cloud Computing Cost|Cost » Cloud » Computing]]
* [[Minikube Systemd|Minikube » Systemd]]
* [[Chorke Academia Backup]]
* [[Minikube MetalLB|Minikube » MetalLB]]
* [[Cloud/Cost/Chorke|Cost » Cloud » Chorke]]
* [[Minikube Registry|Minikube » Registry]]
* [[Minikube Tunnel|Minikube » Tunnel]]
* [[Minikube]]
* [[Minikube]]
* [[Helm]]
* [[CIDR]]
* [[CIDR]]
* [[UFW]]
* [[UFW]]
* [[K8s]]
* [[YQ Tool|YQ]]
* [[YQ Tool|YQ]]
* [[JQ Tool|JQ]]
* [[JQ Tool|JQ]]


|valign="top"|
|valign="top"|
* [[K8s/Academia/Ingress|K8s » Academia » Ingress]]
* [https://askubuntu.com/questions/476041/ Rsync » Deleted from the source]
* [[K8s/HAProxy/Ingress|K8s » HAProxy » Ingress]]
* [[K8s/Apache/Ingress|K8s » Apache » Ingress]]
* [[K8s/Nginx/Ingress|K8s » Nginx » Ingress]]
* [[K8s/Swiss Knife|K8s » Swiss Knife]]
* [[K8s/Storage|K8s » Storage]]
* [[K8s/Ingress|K8s » Ingress]]
* [[K8s/Service|K8s » Service]]
* [[K8s/Run|K8s » Run]]
* [[K8s]]


|valign="top"|
|valign="top"|
* [[Helm/Prometheus Stack|Helm » Prometheus Stack]]
* [[Helm/Cert Manager|Helm » Cert Manager]]
* [[Helm/Elasticsearch|Helm » Elasticsearch]]
* [[Minikube MetalLB|Helm » MetalLB]]
* [[Helm/Jenkins|Helm » Jenkins]]
* [[Helm/GitLab|Helm » GitLab]]
* [[Helm/Nexus|Helm » Nexus]]
* [[Helm/MinIO|Helm » MinIO]]
* [[Helm/Kafka|Helm » Kafka]]
* [[Helm/Redis|Helm » Redis]]


|valign="top"|
|valign="top"|
* [[Security/Container/Snyk|Security » Container » Snyk]]
* [[Security/Container/Trivy|Security » Container » Trivy]]
* [[Security/Certificate/TLS|Security » Certificate » TLS]]
* [[Java Key Store|Security » Java » Key Store]]
* [[Java Mail API|Security » Java » Mail API]]
* [[Security/Password|Security » Password]]
* [[ZA Proxy|Security » ZA Proxy]]
* [[Security/Domain|Security » Domain]]
* [[Jasypt|Security » Jasypt]]
* [[HTTP Security|Security » HTTP]]


|-
|-
Line 136: Line 120:


|valign="top"|
|valign="top"|
* [[Private Enterprise Number]]
* [[Security/Container/Snyk|Security » Container » Snyk]]
* [[Chorke Academia Backup]]
* [[Security/Container/Trivy|Security » Container » Trivy]]
* [[Cloud Computing Cost|Cost » Cloud » Computing]]
* [[Security/Certificate/TLS|Security » Certificate » TLS]]
* [[Cloud/Cost/Chorke|Cost » Cloud » Chorke]]
* [[Java Key Store|Security » Java » Key Store]]
* [[YouTube/Channel]]
* [[Java Mail API|Security » Java » Mail API]]
 
* [[Security/Password|Security » Password]]
|-
* [[ZA Proxy|Security » ZA Proxy]]
|colspan="4"|
* [[Security/Domain|Security » Domain]]
----
* [[Jasypt|Security » Jasypt]]
|-
* [[HTTP Security|Security » HTTP]]
|valign="top"|
 
|valign="top"|
 
|valign="top"|
 
|valign="top"|


|}
|}

Latest revision as of 03:13, 18 June 2025

Playground

rsync -aqz ${BACKUPS_CFG_FILE} ${HAPROXY_ETC_BASE}/haproxy.cfg
rsync -aqz ${HAPROXY_TMP_FILE} ${HAPROXY_ETC_BASE}/haproxy.cfg
sudo rsync -avz /etc/pgbouncer/pgbouncer.ini /etc/pgbouncer/pgbouncer.ini.bkp
sudo rsync -avz /etc/pgbouncer/userlist.txt  /etc/pgbouncer/userlist.txt.bkp

rsync -avuzb --exclude '*~' samba:sourcedir/ targetdir/
rsync -av --exclude={'*.txt','dir3','dir4'} sourcedir/ targetdir/
rsync -av --exclude-from={'/chorke/academia/ignore/rsync.txt'} sourcedir/ targetdir/
rsync -a /home/minikube /home/system/
rsync -a /home/artemis  /home/system/
rsync -a /home/minio    /home/system/

rsync -avz /etc/ufw/{before,before6,user,user6,after,after6}.rules ${HOME}/.config/ufw/${BACKUP_DATE_TIME}/

rsync -avz  deploy@app.academia.chorke.org:~/Documents/docker-playground/ .
rsync -az  ${HOME}/Downloads/harbor/ ${HOME}/Documents/harbor-playground/
rsync -avz ${HOME}/.config/ufw/${BACKUP_DATE_TIME}/*.rules /etc/ufw/
rsync -avh source/ target/ --delete-after --ignore-errors
rsync -r --progress source target
apt install rsync

References