You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:وقتی ما جئو فایلهای مربط به مسدود کردن سایتهای ایرانی رو با توجه به این داکیومنت https://gozargah.github.io/marzban/fa/examples/blocking-rules
دانلود میکنیم یک فولدری به نام
/var/lib/marzban/assets/
تشکیل میشه .
مشکلی که هست اینه که روبات تلگرام موقع بکاپ از این فولدر هم بکاپ میگیره در حالی که هیچ نیازی به این کار نیست و این باعث میشه حجم فایل چندین .
برابر بشه
از طرفی هم نمیشه مسیر این فولدر رو جابه جا کرد
The issue is that the Telegram bot also includes this folder in the backup process, even though there is no need for it. This causes the backup file size to increase significantly.
On the other hand, it is not possible to change the location of this folder.
The text was updated successfully, but these errors were encountered:
در واقع به این فولدر و فایلهاش نیاز هست اگر بخواین بکاپ رو روی سرور جدید بالا بیارین اگه این فایلها نباشن موقع اجرای مرزبان ارور میگیرین، البته که میشه روی سرور جدید دوباره فایلها رو دانلود کرد.
ولی برای exclude کردن این فولدر، اگر از اسکریپت ac-lover برای بکاپ استفاده میکنید، میتونید فایل اسکریپت رو ادیت کنید:
nano ~/ac-backup-m.sh
خط زیر رو به انتهای خط سوم که دستور zip -r هست اضافه کنید:
-x /var/lib/marzban/assets/\*
که به همچین شکلی در بیاد:
zip -r /root/ac-backup-m.zip /opt/marzban/* /var/lib/marzban/* /opt/marzban/.env -x /var/lib/marzban/mysql/\* -x /var/lib/marzban/assets/\*
با سلام و خسته نباشید
:وقتی ما جئو فایلهای مربط به مسدود کردن سایتهای ایرانی رو با توجه به این داکیومنت
https://gozargah.github.io/marzban/fa/examples/blocking-rules
دانلود میکنیم یک فولدری به نام
/var/lib/marzban/assets/
تشکیل میشه .
مشکلی که هست اینه که روبات تلگرام موقع بکاپ از این فولدر هم بکاپ میگیره در حالی که هیچ نیازی به این کار نیست و این باعث میشه حجم فایل چندین .
برابر بشه
از طرفی هم نمیشه مسیر این فولدر رو جابه جا کرد
Hello and thank you for your efforts
When we download the Geo files related to blocking Iranian websites according to this document:
https://gozargah.github.io/marzban/fa/examples/blocking-rules
A folder named /var/lib/marzban/assets/ is created.
The issue is that the Telegram bot also includes this folder in the backup process, even though there is no need for it. This causes the backup file size to increase significantly.
On the other hand, it is not possible to change the location of this folder.
The text was updated successfully, but these errors were encountered: