Quantcast
Channel: Client doesn t upodate settings
Viewing all articles
Browse latest Browse all 7

Client doesn t upodate settings

$
0
0

@orogor wrote:

This client didnt had the necessay backup requested by the user

All it was backuping was path manually set to backup via add-backupdir (at the beggining agents where cinfigured like this)
But now i do set path only via groups properties and disallow client to change conf.

So i removed the path manually set (no idea why it wasn’t pickign changes from server
After that was not backuping anything, even if it properly syncing settings from the server
And the server appears to have the proper settings
I tried to change a few settings to make sure , and they were properly synced (they show in the log and in the settings file)

(here it show no directories, even if the file has them setup)
urbackupclientctl list-backupdirs
No directories are being backed up

urbackupclientctl --version
UrBackup Client Controller v2.1.15.0

cat /var/docker/data/urbackup-client/data/settings.cfg
update_freq_incr=18000
update_freq_incr_def=18000
update_freq_full=5184000
update_freq_full_def=5184000
update_freq_image_full=-5184000
update_freq_image_full_def=-5184000
update_freq_image_incr=-604800
update_freq_image_incr_def=-604800
max_file_incr=4
max_file_incr_def=4
min_file_incr=2
min_file_incr_def=2
max_file_full=2
max_file_full_def=2
min_file_full=1
min_file_full_def=1
min_image_incr=4
min_image_incr_def=4
max_image_incr=30
max_image_incr_def=30
min_image_full=2
min_image_full_def=2
max_image_full=5
max_image_full_def=5
startup_backup_delay=120
startup_backup_delay_def=120
backup_window_incr_file=1-7/7-21
backup_window_incr_file_def=1-7/7-21
backup_window_full_file=1-7/7-21
backup_window_full_file_def=1-7/7-21
backup_window_incr_image=1-7/7-21
backup_window_incr_image_def=1-7/7-21
backup_window_full_image=1-7/7-21
backup_window_full_image_def=1-7/7-21
exclude_files=
exclude_files_def=
include_files=/urbackup/docker/:/conf/;/urbackup/host/;/urbackup/docker/:/data/model/;/root/;/etc/*
include_files_def=/urbackup/docker/:/conf/;/urbackup/host/;/urbackup/docker/:/data/model/;/root/;/etc/*
default_dirs=/root|root;/etc|etc;/urbackup/docker/|docker_conf;/urbackup/host/|docker_host
default_dirs_def=/root|root;/etc|etc;/urbackup/docker/|docker_conf;/urbackup/host/|docker_host
allow_config_paths=false
allow_config_paths_def=false
allow_starting_full_file_backups=true
allow_starting_full_file_backups_def=true
allow_starting_incr_file_backups=true
allow_starting_incr_file_backups_def=true
allow_starting_full_image_backups=false
allow_starting_full_image_backups_def=false
allow_starting_incr_image_backups=false
allow_starting_incr_image_backups_def=false
allow_pause=false
allow_pause_def=false
allow_log_view=true
allow_log_view_def=true
allow_overwrite=false
allow_overwrite_def=false
allow_tray_exit=false
allow_tray_exit_def=false
image_letters=C
image_letters_def=C
internet_server=backup01
internet_server_def=backup01
internet_server_port=55415
internet_server_port_def=55415
internet_authkey=xxx
internet_authkey_def=xxx
internet_speed=0
internet_speed_def=0
local_speed=0
local_speed_def=0
internet_image_backups=true
internet_image_backups_def=true
internet_full_file_backups=true
internet_full_file_backups_def=true
internet_encrypt=true
internet_encrypt_def=true
internet_compress=false
internet_compress_def=false
internet_mode_enabled=true
internet_mode_enabled_def=true
silent_update=false
silent_update_def=false
client_quota=
client_quota_def=
local_full_file_transfer_mode=hashed
local_full_file_transfer_mode_def=hashed
internet_full_file_transfer_mode=raw
internet_full_file_transfer_mode_def=raw
local_incr_file_transfer_mode=hashed
local_incr_file_transfer_mode_def=hashed
internet_incr_file_transfer_mode=blockhash
internet_incr_file_transfer_mode_def=blockhash
local_image_transfer_mode=hashed
local_image_transfer_mode_def=hashed
internet_image_transfer_mode=raw
internet_image_transfer_mode_def=raw
end_to_end_file_backup_verification=false
end_to_end_file_backup_verification_def=false
internet_calculate_filehashes_on_client=true
internet_calculate_filehashes_on_client_def=true
image_file_format=vhdz
image_file_format_def=vhdz
internet_connect_always=false
internet_connect_always_def=false
server_url=http://backup01:55414/
server_url_def=http://backup01:55414/
verify_using_client_hashes=false
verify_using_client_hashes_def=false
internet_readd_file_entries=true
internet_readd_file_entries_def=true
background_backups=true
background_backups_def=true
local_incr_image_style=to-full
local_incr_image_style_def=to-full
local_full_image_style=full
local_full_image_style_def=full
internet_incr_image_style=to-last
internet_incr_image_style_def=to-last
internet_full_image_style=synthetic
internet_full_image_style_def=synthetic
create_linked_user_views=false
create_linked_user_views_def=false
max_running_jobs_per_client=2
max_running_jobs_per_client_def=2
cbt_volumes=ALL
cbt_volumes_def=ALL
cbt_crash_persistent_volumes=-
cbt_crash_persistent_volumes_def=-
ignore_disk_errors=false
ignore_disk_errors_def=false
vss_select_components=default=1
vss_select_components_def=default=1
allow_file_restore=true
allow_file_restore_def=true
allow_component_restore=true
allow_component_restore_def=true
allow_component_config=false
allow_component_config_def=false
file_snapshot_groups=
file_snapshot_groups_def=
image_snapshot_groups=
image_snapshot_groups_def=
internet_file_dataplan_limit=5242880000
internet_file_dataplan_limit_def=5242880000
internet_image_dataplan_limit=20971520000
internet_image_dataplan_limit_def=20971520000

i tried moving out all theses files, to reset whatever was storing the local conf for paths:
mv ./filelist.ub ./settings* ./tokens_* /bak/
mv ./backup_client.db backup_client.db-shm backup_client.db-wal bak/
then had a “no backup dirs” error

i tried restarting the agent a few time and start a few inc backups, same “no backup dirs” error

so i did put back the settings file , i still get that error,
tried restarting the agent a few time and start a few inc backups, same “no backup dirs” error

oct. 31 17:37:16 ct03. urbackupclientbackend[890]: Internet only mode not enabled. Waiting for local server for 3:00…
oct. 31 17:37:21 ct03 urbackupclientbackend[890]: ClientService cmd: #xxx#ADD IDENTITY
oct. 31 17:37:21 ct03. urbackupclientbackend[890]: rc=0 hasError=true state=0
oct. 31 17:37:32 ct03. urbackupclientbackend[890]: ClientService cmd: #xxx#ADD IDENTITY
oct. 31 17:37:32 ct03. urbackupclientbackend[890]: rc=0 hasError=true state=0
oct. 31 17:37:36 ct03. urbackupclientbackend[890]: ClientService cmd: #xxx#2PING RUNNING pc_done=&status_id=15&speed_bpms=0&total_bytes=-1&done_bytes=0#token=xxx
oct. 31 17:37:36 ct03. urbackupclientbackend[890]: ClientService cmd: #xxx#3START BACKUP group=0&running_jobs=1&sha=528&with_permissions=1&with_scripts=1&with_orig_path=1&with_sequence=1&with_proper_symlinks=1&status_id=15&async=1#token=xxx
oct. 31 17:37:36 ct03. urbackupclientbackend[890]: Removing VSS log data…
oct. 31 17:37:36 ct03. urbackupclientbackend[890]: rc=0 hasError=true state=0
oct. 31 17:37:36 ct03. urbackupclientbackend[890]: ClientService cmd: #xxx#WAIT FOR INDEX async_id=xxx#token=yyy
oct. 31 17:37:36 ct03. urbackupclientbackend[890]: Wait for async index xxx
oct. 31 17:37:36 ct03. urbackupclientbackend[890]: Script list at “/etc/urbackup/scripts/list” does not exist. Skipping.
oct. 31 17:37:36 ct03. urbackupclientbackend[890]: Async index xxx finished with "no backup dirs"
oct. 31 17:37:36 ct03. urbackupclientbackend[890]: rc=0 hasError=true state=0
oct. 31 17:37:46 ct03. urbackupclientbackend[890]: rc=0 hasError=true state=0

Ended up also changing a setting a setting on the server to have the client pick up the changes (actually i tried that at the very begginging, so apparently i need to delete all the agent data, then change a sertting server side for the agent to pick up the new setttings)

Read full topic


Viewing all articles
Browse latest Browse all 7

Trending Articles